pimd: sh ip multicast: Display zclient socket fail counter.
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index cc15a09..076b7ba 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -2096,14 +2096,16 @@
vty_out(vty, "%s", VTY_NEWLINE);
vty_out(vty, "Zclient update socket: ");
if (qpim_zclient_update) {
- vty_out(vty, "%d%s", qpim_zclient_update->sock, VTY_NEWLINE);
+ 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);
}
vty_out(vty, "Zclient lookup socket: ");
if (qpim_zclient_lookup) {
- vty_out(vty, "%d%s", qpim_zclient_lookup->sock, VTY_NEWLINE);
+ vty_out(vty, "%d failures=%d%s", qpim_zclient_lookup->sock,
+ qpim_zclient_lookup->fail, VTY_NEWLINE);
}
else {
vty_out(vty, "<null zclient>%s", VTY_NEWLINE);