Browse Source

Revert "pimd: clear zclient-update: Reset zclient update connection to zebra daemon"

This reverts commit 3456a80f5f8e6e44c30453bd92eabf5faf7ab25b.

Conflicts:
	pimd/pim_zebra.c

This depends on the zebra reconnect changes, which we're not picking up
at this point.  This revert is partial, only bumping out the
reconnect-related changes.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
David Lamparter 4 years ago
parent
commit
bb7feff0af
3 changed files with 0 additions and 14 deletions
  1. 0 1
      pimd/COMMANDS
  2. 0 12
      pimd/pim_cmd.c
  3. 0 1
      pimd/pim_zebra.c

+ 0 - 1
pimd/COMMANDS

@@ -60,7 +60,6 @@ debug commands:
        clear ip mroute                  Reset multicast routes
        clear ip pim interfaces		Reset PIM interfaces
        clear ip pim oil			Rescan PIM OIL (output interface list)
-       clear zclient-update		Reset zclient update connection to zebra daemon
        debug igmp			IGMP protocol activity
        debug mroute			PIM interaction with kernel MFC cache
        debug pim			PIM protocol activity

+ 0 - 12
pimd/pim_cmd.c

@@ -1563,17 +1563,6 @@ DEFUN (pim_interface,
   return CMD_SUCCESS;
 }
 
-DEFUN (clear_zclient_update,
-       clear_zclient_update_cmd,
-       "clear zclient-update",
-       CLEAR_STR
-       "Reset zclient update connection to zebra daemon\n")
-{
-  zclient_reset(qpim_zclient_update);
-
-  return CMD_SUCCESS;
-}
-
 DEFUN (clear_ip_interfaces,
        clear_ip_interfaces_cmd,
        "clear ip interfaces",
@@ -4391,7 +4380,6 @@ void pim_cmd_init()
   install_element (ENABLE_NODE, &clear_ip_mroute_cmd);
   install_element (ENABLE_NODE, &clear_ip_pim_interfaces_cmd);
   install_element (ENABLE_NODE, &clear_ip_pim_oil_cmd);
-  install_element (ENABLE_NODE, &clear_zclient_update_cmd);
 
   install_element (ENABLE_NODE, &show_ip_igmp_interface_cmd);
   install_element (ENABLE_NODE, &show_ip_igmp_join_cmd);

+ 0 - 1
pimd/pim_zebra.c

@@ -664,7 +664,6 @@ void pim_zebra_init(char *zebra_sock_path)
   /* Socket for receiving updates from Zebra daemon */
   qpim_zclient_update = zclient_new();
 
-  qpim_zclient_update->zclient_broken           = zclient_broken;
   qpim_zclient_update->router_id_update         = pim_router_id_update_zebra;
   qpim_zclient_update->interface_add            = pim_zebra_if_add;
   qpim_zclient_update->interface_delete         = pim_zebra_if_del;