diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-30 01:16:28 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-02 21:13:44 +0100 |
commit | 721c08573ab0427622e3073b7462196bc36a2894 (patch) | |
tree | 6e9fc167929ee822d31d5e9359aa5dd5fe8e2605 /lib/if.h | |
parent | *: Convert prefix_free to double pointer (diff) | |
download | frr-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |