From 3392046d51959b228133e69f54893898df75635e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 4 Jun 2020 13:26:46 +0200 Subject: [PATCH] system-dummy: fix missing return Signed-off-by: Felix Fietkau --- system-dummy.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.25.1