]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/if.h
*: Convert connected_free to a double pointer
[mirror_frr.git] / lib / if.h
index 632229093735478db83605bfe2a93f3ed3d3e5db..6d966a25564afe61bb3f1427ed8340d134170ce7 100644 (file)
--- a/lib/if.h
+++ b/lib/if.h
@@ -543,7 +543,7 @@ extern ifindex_t ifname2ifindex(const char *ifname, vrf_id_t vrf_id);
 
 /* Connected address functions. */
 extern struct connected *connected_new(void);
-extern void connected_free(struct connected *);
+extern void connected_free(struct connected **connected);
 extern void connected_add(struct interface *, struct connected *);
 extern struct connected *
 connected_add_by_prefix(struct interface *, struct prefix *, struct prefix *);