2005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
	  is turned on.

	  [backport candidate]
This commit is contained in:
ajs 2005-03-31 15:18:21 +00:00
parent 2da40f4919
commit aca72fda8f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
is turned on.
2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative

View File

@ -1384,6 +1384,10 @@ DEFUN (show_debugging_ospf,
vty_out (vty, "OSPF debugging status:%s", VTY_NEWLINE); vty_out (vty, "OSPF debugging status:%s", VTY_NEWLINE);
/* Show debug status for events. */
if (IS_DEBUG_OSPF(event,EVENT))
vty_out (vty, " OSPF event debugging is on%s", VTY_NEWLINE);
/* Show debug status for ISM. */ /* Show debug status for ISM. */
if (IS_DEBUG_OSPF (ism, ISM) == OSPF_DEBUG_ISM) if (IS_DEBUG_OSPF (ism, ISM) == OSPF_DEBUG_ISM)
vty_out (vty, " OSPF ISM debugging is on%s", VTY_NEWLINE); vty_out (vty, " OSPF ISM debugging is on%s", VTY_NEWLINE);
@ -1458,6 +1462,8 @@ DEFUN (show_debugging_ospf,
if (IS_DEBUG_OSPF (zebra, ZEBRA_REDISTRIBUTE)) if (IS_DEBUG_OSPF (zebra, ZEBRA_REDISTRIBUTE))
vty_out (vty, " OSPF Zebra redistribute debugging is on%s", VTY_NEWLINE); vty_out (vty, " OSPF Zebra redistribute debugging is on%s", VTY_NEWLINE);
} }
/* Show debug status for NSSA. */
if (IS_DEBUG_OSPF (nssa, NSSA) == OSPF_DEBUG_NSSA) if (IS_DEBUG_OSPF (nssa, NSSA) == OSPF_DEBUG_NSSA)
vty_out (vty, " OSPF NSSA debugging is on%s", VTY_NEWLINE); vty_out (vty, " OSPF NSSA debugging is on%s", VTY_NEWLINE);