summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_lsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r--ospf6d/ospf6_lsa.c47
1 files changed, 40 insertions, 7 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c
index 35e5a91544..867dc3d9d8 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;
@@ -866,7 +872,17 @@ ALIAS (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"
+ "Originate\n"
+ "Examine\n"
+ "Flooding\n"
)
DEFUN (no_debug_ospf6_lsa_type,
@@ -876,7 +892,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;
@@ -915,12 +938,22 @@ DEFUN (no_debug_ospf6_lsa_type,
ALIAS (no_debug_ospf6_lsa_type,
no_debug_ospf6_lsa_hex_detail_cmd,
- "no debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix) (originate|examine|flooding)",
+ "no debug ospf6 lsa (router|network|inter-prefix|inter-router|as-external|link|intra-prefix|unknown) (originate|examine|flooding)",
NO_STR
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"
+ "Originate\n"
+ "Examine\n"
+ "Flooding\n"
)
void