Browse Source

system-dummy: fix missing return

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau 3 years ago
parent
commit
3392046d51
1 changed files with 2 additions and 0 deletions
  1. 2 0
      system-dummy.c

+ 2 - 0
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");