From 2dbfa8a020315ae7d3572bd1c691701c25e3c54a Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 16 Nov 2016 22:17:39 -0500 Subject: [PATCH] ospf6d: Fix debug line always showing up in ospf6d The command 'debug ospf6 lsa unknown' was always showing up, upon starting of the ospf6 daemon. Remove this from happening. Also fix some help strings while we are in there. Ticket: CM-7913 Signed-off-by: Donald Sharp --- ospf6d/ospf6_lsa.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index 35e5a91544..f3afd487e4 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -77,8 +77,7 @@ struct ospf6_lsa_handler unknown_handler = "Unknown", "Unk", ospf6_unknown_lsa_show, - NULL, - OSPF6_LSA_DEBUG, + NULL }; void @@ -822,7 +821,14 @@ DEFUN (debug_ospf6_lsa_type, DEBUG_STR OSPF6_STR "Debug Link State Advertisements (LSAs)\n" - "Specify LS type as Hexadecimal\n" + "Router LSA's\n" + "Network LSA's\n" + "Inter-Prefix LSA's\n" + "Inter-Router LSA's\n" + "AS-External LSA's\n" + "Link LSA's\n" + "Intra-Prefix LSA's\n" + "Unknown LSA's\n" ) { unsigned int i; @@ -876,7 +882,14 @@ DEFUN (no_debug_ospf6_lsa_type, DEBUG_STR OSPF6_STR "Debug Link State Advertisements (LSAs)\n" - "Specify LS type as Hexadecimal\n" + "Router LSA's\n" + "Network LSA's\n" + "Inter-Prefix LSA's\n" + "Inter-Router LSA's\n" + "AS-External LSA's\n" + "Link LSA's\n" + "Intra-Prefix LSA's\n" + "Unknown LSA's\n" ) { u_int i;