]> git.meshlink.io Git - meshlink/blobdiff - src/subnet.h
When learning MAC addresses, only check our own Subnets for previous entries.
[meshlink] / src / subnet.h
index c9bb10e8a8fdb161221ef51f8f40148459b06312..b2124a0ef87037a00d00b9daed4cbf411c3b1270 100644 (file)
@@ -77,7 +77,7 @@ extern void subnet_update(struct node_t *, subnet_t *, bool);
 extern bool net2str(char *, int, const subnet_t *);
 extern bool str2net(subnet_t *, const char *);
 extern subnet_t *lookup_subnet(const struct node_t *, const subnet_t *);
-extern subnet_t *lookup_subnet_mac(const mac_t *);
+extern subnet_t *lookup_subnet_mac(const struct node_t *, const mac_t *);
 extern subnet_t *lookup_subnet_ipv4(const ipv4_t *);
 extern subnet_t *lookup_subnet_ipv6(const ipv6_t *);
 extern void dump_subnets(void);