From: Felix Fietkau Date: Thu, 4 Jun 2020 11:26:46 +0000 (+0200) Subject: system-dummy: fix missing return X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3392046d51959b228133e69f54893898df75635e;p=project%2Fnetifd.git system-dummy: fix missing return Signed-off-by: Felix Fietkau --- 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");