diff options
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 315fbae95c..553c1314d2 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -59,20 +59,20 @@ int pim_debug_config_write(struct vty *vty) ++writes; } if (PIM_DEBUG_GM_EVENTS) { - vty_out(vty, "debug igmp events\n"); + vty_out(vty, "debug " GM_AF_DBG " events\n"); ++writes; } if (PIM_DEBUG_GM_PACKETS) { - vty_out(vty, "debug igmp packets\n"); + vty_out(vty, "debug " GM_AF_DBG " packets\n"); ++writes; } /* PIM_DEBUG_GM_TRACE catches _DETAIL too */ if (router->debugs & PIM_MASK_GM_TRACE) { - vty_out(vty, "debug igmp trace\n"); + vty_out(vty, "debug " GM_AF_DBG " trace\n"); ++writes; } if (PIM_DEBUG_GM_TRACE_DETAIL) { - vty_out(vty, "debug igmp trace detail\n"); + vty_out(vty, "debug " GM_AF_DBG " trace detail\n"); ++writes; } @@ -401,7 +401,7 @@ static int gm_config_write(struct vty *vty, int writes, vty_out(vty, " ipv6 mld last-member-query-interval %d\n", pim_ifp->gm_specific_query_max_response_time_dsec); - return 0; + return writes; } #endif |
