mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 01:47:29 +00:00
pimd: Add some 'show debug pim' output
Add some missing 'show debug pim' output so that I can see what I think I'm debugging. In general the pim debugs need another round of fixing. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
216bb84fd5
commit
c823065de9
@ -35,7 +35,8 @@
|
|||||||
#include "pim_oil.h"
|
#include "pim_oil.h"
|
||||||
#include "pim_static.h"
|
#include "pim_static.h"
|
||||||
|
|
||||||
int pim_debug_config_write(struct vty *vty)
|
int
|
||||||
|
pim_debug_config_write (struct vty *vty)
|
||||||
{
|
{
|
||||||
int writes = 0;
|
int writes = 0;
|
||||||
|
|
||||||
@ -51,6 +52,10 @@ int pim_debug_config_write(struct vty *vty)
|
|||||||
vty_out(vty, "debug igmp trace%s", VTY_NEWLINE);
|
vty_out(vty, "debug igmp trace%s", VTY_NEWLINE);
|
||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
if (PIM_DEBUG_IGMP_TRACE_DETAIL) {
|
||||||
|
vty_out(vty, "debug igmp trace detail%s", VTY_NEWLINE);
|
||||||
|
++writes;
|
||||||
|
}
|
||||||
|
|
||||||
if (PIM_DEBUG_MROUTE) {
|
if (PIM_DEBUG_MROUTE) {
|
||||||
vty_out(vty, "debug mroute%s", VTY_NEWLINE);
|
vty_out(vty, "debug mroute%s", VTY_NEWLINE);
|
||||||
@ -73,10 +78,15 @@ int pim_debug_config_write(struct vty *vty)
|
|||||||
vty_out(vty, "debug pim packet-dump receive%s", VTY_NEWLINE);
|
vty_out(vty, "debug pim packet-dump receive%s", VTY_NEWLINE);
|
||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PIM_DEBUG_PIM_TRACE) {
|
if (PIM_DEBUG_PIM_TRACE) {
|
||||||
vty_out(vty, "debug pim trace%s", VTY_NEWLINE);
|
vty_out(vty, "debug pim trace%s", VTY_NEWLINE);
|
||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
if (PIM_DEBUG_PIM_TRACE_DETAIL) {
|
||||||
|
vty_out(vty, "debug pim trace detail%s", VTY_NEWLINE);
|
||||||
|
++writes;
|
||||||
|
}
|
||||||
|
|
||||||
if (PIM_DEBUG_ZEBRA) {
|
if (PIM_DEBUG_ZEBRA) {
|
||||||
vty_out(vty, "debug pim zebra%s", VTY_NEWLINE);
|
vty_out(vty, "debug pim zebra%s", VTY_NEWLINE);
|
||||||
@ -88,6 +98,21 @@ int pim_debug_config_write(struct vty *vty)
|
|||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (PIM_DEBUG_PIM_HELLO) {
|
||||||
|
vty_out (vty, "debug pim packets hello%s", VTY_NEWLINE);
|
||||||
|
++writes;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PIM_DEBUG_PIM_J_P) {
|
||||||
|
vty_out (vty, "debug pim packets join%s", VTY_NEWLINE);
|
||||||
|
++writes;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PIM_DEBUG_STATIC) {
|
||||||
|
vty_out (vty, "debug pim static%s", VTY_NEWLINE);
|
||||||
|
++writes;
|
||||||
|
}
|
||||||
|
|
||||||
return writes;
|
return writes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user