summaryrefslogtreecommitdiff
path: root/ospfd/ospf_dump.c
diff options
context:
space:
mode:
authorajs <ajs>2005-03-31 15:18:21 +0000
committerajs <ajs>2005-03-31 15:18:21 +0000
commitaca72fda8f251c866f88becd5bec4c215104b102 (patch)
treecbc00dabb129e1a85079e1446ce9c721ec00817c /ospfd/ospf_dump.c
parent2da40f4919f6268d4935c42a358739ffdf3a48dc (diff)
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]
Diffstat (limited to 'ospfd/ospf_dump.c')
-rw-r--r--ospfd/ospf_dump.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index 17cf28c7..7d738f9e 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -1384,6 +1384,10 @@ DEFUN (show_debugging_ospf,
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. */
if (IS_DEBUG_OSPF (ism, ISM) == OSPF_DEBUG_ISM)
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))
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)
vty_out (vty, " OSPF NSSA debugging is on%s", VTY_NEWLINE);