projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56b457
)
system-dummy: fix missing return
author
Felix Fietkau
<nbd@nbd.name>
Thu, 4 Jun 2020 11:26:46 +0000
(13:26 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 4 Jun 2020 11:26:46 +0000
(13:26 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
system-dummy.c
patch
|
blob
|
history
diff --git
a/system-dummy.c
b/system-dummy.c
index ab1a1b26b6f291daf5a86758e48f5ebfd11421f0..0b1f1e0b8ede4fe4c0e494df0dea4c5529d64eb6 100644
(file)
--- a/
system-dummy.c
+++ b/
system-dummy.c
@@
-208,7
+208,9
@@
static int system_neighbor_msg(struct device *dev, struct device_neighbor *neigh
D(SYSTEM, "neigh %s %s%s%s %s\n", type, addr, neighbor->proxy ? "proxy " : "",
(neighbor->flags & DEVNEIGH_MAC) ? format_macaddr(neighbor->macaddr) : "",
neighbor->router ? "router": "");
+ return 0;
}
+
int system_add_neighbor(struct device *dev, struct device_neighbor *neighbor)
{
return system_neighbor_msg(dev, neighbor, "add");