}
vty_out(vty, "%s", VTY_NEWLINE);
- vty_out(vty, "Zclient update socket: ");
- if (qpim_zclient_update) {
- vty_out(vty, "%d failures=%d%s", qpim_zclient_update->sock,
- qpim_zclient_update->fail, VTY_NEWLINE);
- }
- else {
- vty_out(vty, "<null zclient>%s", VTY_NEWLINE);
- }
+ pim_zebra_zclient_update (vty);
pim_zlookup_show_ip_multicast (vty);
vty_out(vty, "%s", VTY_NEWLINE);
ch->interface,
PIM_OIF_FLAG_PROTO_PIM);
}
+
+void
+pim_zebra_zclient_update (struct vty *vty)
+{
+ vty_out(vty, "Zclient update socket: ");
+
+ if (qpim_zclient_update) {
+ vty_out(vty, "%d failures=%d%s", qpim_zclient_update->sock,
+ qpim_zclient_update->fail, VTY_NEWLINE);
+ }
+ else {
+ vty_out(vty, "<null zclient>%s", VTY_NEWLINE);
+ }
+}
#include "pim_ifchannel.h"
void pim_zebra_init(char *zebra_sock_path);
+void pim_zebra_zclient_update (struct vty *vty);
void pim_scan_individual_oil (struct channel_oil *c_oil);
void pim_scan_oil(void);