summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-10-30 01:16:28 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-11-02 21:13:44 +0100
commit721c08573ab0427622e3073b7462196bc36a2894 (patch)
tree6e9fc167929ee822d31d5e9359aa5dd5fe8e2605 /lib/if.h
parent*: Convert prefix_free to double pointer (diff)
downloadfrr-721c08573ab0427622e3073b7462196bc36a2894.tar.xz
frr-721c08573ab0427622e3073b7462196bc36a2894.zip
*: Convert connected_free to a double pointer
Set the connected pointer to set the pointer to NULL. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.h b/lib/if.h
index 632229093..6d966a255 100644
--- 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 *);