From: Donald Sharp Date: Wed, 30 Nov 2016 19:35:09 +0000 (-0500) Subject: pimd: Fix show run output to be correct. X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~51 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a23ee35b2b5baf2453a0f5a0f2a3f53b6469fc26;p=mirror%2Ffrr.git pimd: Fix show run output to be correct. When issuing a vtysh -m command it expects the output it receives to be the complete command not a partial match. The 'debug pim packets joins' command was being outputted as 'debug pim packets join' This was making quagga-reload.py unhappy. Adding the joins word allows it to complete successfully Ticket: CM-13805 Signed-off-by: Donald Sharp Reviewed-by: Daniel Walton --- diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index b8a361a260..3a7d056cb5 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -126,7 +126,7 @@ pim_debug_config_write (struct vty *vty) } if (PIM_DEBUG_PIM_J_P) { - vty_out (vty, "debug pim packets join%s", VTY_NEWLINE); + vty_out (vty, "debug pim packets joins%s", VTY_NEWLINE); ++writes; }