]> git.meshlink.io Git - meshlink/blobdiff - src/subnet.h
Use the TCP socket infrastructure for control sockets.
[meshlink] / src / subnet.h
index c6aa93f2d058c023443b50b73029de4559890906..466eb20c1806f11fc9cfbea3bdbec0eedb346e09 100644 (file)
@@ -80,7 +80,7 @@ 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_ipv4(const ipv4_t *);
 extern subnet_t *lookup_subnet_ipv6(const ipv6_t *);
-extern int dump_subnets(struct evbuffer *);
+extern bool dump_subnets(struct connection_t *);
 extern void subnet_cache_flush(void);
 
 #endif                                                 /* __TINC_SUBNET_H__ */