summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-06-06 08:32:21 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-06 11:43:00 -0400
commit9c1e09ba8e727f5afd450842a6a9c7121416da91 (patch)
tree84047523d51501be64d7c958ffc4c4d49a1f8881 /pimd/pim_zebra.c
parent76759f4f9b96457533a25ff8210dd2bf1eaf3715 (diff)
pimd: Remove dead code.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index b3e61f2b06..eaf1b08078 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -52,23 +52,6 @@ static int del_oif(struct channel_oil *channel_oil,
struct interface *oif,
uint32_t proto_mask);
-#if 0
-static void zclient_broken(struct zclient *zclient)
-{
- struct listnode *ifnode;
- struct interface *ifp;
-
- zlog_warn("%s %s: broken zclient connection",
- __FILE__, __PRETTY_FUNCTION__);
-
- for (ALL_LIST_ELEMENTS_RO(iflist, ifnode, ifp)) {
- pim_if_addr_del_all(ifp);
- }
-
- /* upon return, zclient will discard connected addresses */
-}
-#endif
-
/* Router-id update message from zebra. */
static int pim_router_id_update_zebra(int command, struct zclient *zclient,
zebra_size_t length, vrf_id_t vrf_id)