summaryrefslogtreecommitdiff
path: root/zebra/connected.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-29 18:23:08 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-31 13:47:03 -0400
commitae87977c35c5e63ac2640de06ed2783759f2dfdd (patch)
tree9c483db4fec3777095ae5523d812bc45548c0e74 /zebra/connected.h
parent72a1b201d3acc71a5cb4c7a06ed91ef30e21ee11 (diff)
zebra: Refactor connected_up_ipv[4|6]
The connected_up_ipv[4|6] functions were almost identical. Combine the forces for the goodness of mankind Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/connected.h')
-rw-r--r--zebra/connected.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/connected.h b/zebra/connected.h
index c6da36956d..28b8104e8b 100644
--- a/zebra/connected.h
+++ b/zebra/connected.h
@@ -38,7 +38,7 @@ extern void connected_delete_ipv4(struct interface *ifp, int flags,
extern void connected_delete_ipv4_unnumbered(struct connected *ifc);
-extern void connected_up_ipv4(struct interface *, struct connected *);
+extern void connected_up(struct interface *ifp, struct connected *ifc);
extern void connected_down_ipv4(struct interface *, struct connected *);
extern void connected_add_ipv6(struct interface *ifp, int flags,
@@ -47,7 +47,6 @@ extern void connected_add_ipv6(struct interface *ifp, int flags,
extern void connected_delete_ipv6(struct interface *ifp,
struct in6_addr *address, u_char prefixlen);
-extern void connected_up_ipv6(struct interface *, struct connected *);
extern void connected_down_ipv6(struct interface *ifp, struct connected *);
extern int connected_is_unnumbered(struct interface *);