summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-06-04 13:26:46 +0200
committerFelix Fietkau <nbd@nbd.name>2020-06-04 13:26:46 +0200
commit3392046d51959b228133e69f54893898df75635e (patch)
tree33a2785dfd82b6e816d2a5fbfd036c59f192265a
parenta56b457656218e5b6142b6238286ea54801ac4b2 (diff)
system-dummy: fix missing return
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--system-dummy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c
index ab1a1b2..0b1f1e0 100644
--- 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");