summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_dump.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-30 17:31:48 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-30 17:31:48 +0200
commit6de69f83055163cfc4015d609de3750af8fbff52 (patch)
tree7ad0153279cbf4903e261c0d95466088b61e80a1 /ospfd/ospf_dump.c
parentospfd: resolve argc CHECK MEs in ospf_vty.c (diff)
downloadfrr-6de69f83055163cfc4015d609de3750af8fbff52.tar.xz
frr-6de69f83055163cfc4015d609de3750af8fbff52.zip
all: added some missing <>s within []s
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_dump.c')
-rw-r--r--ospfd/ospf_dump.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index de5c91828..91fde066f 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -982,7 +982,7 @@ DEFUN (no_debug_ospf_ism,
if (inst) // user passed instance ID
{
- if (!ospf_lookup_instance (strtoul (argv[2]->arg, NULL, 10)))
+ if (!ospf_lookup_instance (strtoul (inst, NULL, 10)))
return CMD_SUCCESS;
}
@@ -1057,7 +1057,7 @@ debug_ospf_nsm_common (struct vty *vty, int arg_base, int argc, struct cmd_token
DEFUN (debug_ospf_nsm,
debug_ospf_nsm_cmd,
- "debug ospf nsm [status|events|timers]",
+ "debug ospf nsm [<status|events|timers>]",
DEBUG_STR
OSPF_STR
"OSPF Neighbor State Machine\n"
@@ -1070,7 +1070,7 @@ DEFUN (debug_ospf_nsm,
DEFUN (debug_ospf_instance_nsm,
debug_ospf_instance_nsm_cmd,
- "debug ospf (1-65535) nsm [status|events|timers]",
+ "debug ospf (1-65535) nsm [<status|events|timers>]",
DEBUG_STR
OSPF_STR
"Instance ID\n"
@@ -1128,7 +1128,7 @@ no_debug_ospf_nsm_common (struct vty *vty, int arg_base, int argc, struct cmd_to
DEFUN (no_debug_ospf_nsm,
no_debug_ospf_nsm_cmd,
- "no debug ospf nsm [status|events|timers]",
+ "no debug ospf nsm [<status|events|timers>]",
NO_STR
DEBUG_STR
OSPF_STR
@@ -1143,7 +1143,7 @@ DEFUN (no_debug_ospf_nsm,
DEFUN (no_debug_ospf_instance_nsm,
no_debug_ospf_instance_nsm_cmd,
- "no debug ospf (1-65535) nsm [status|events|timers]",
+ "no debug ospf (1-65535) nsm [<status|events|timers>]",
NO_STR
DEBUG_STR
OSPF_STR
@@ -1206,7 +1206,7 @@ debug_ospf_lsa_common (struct vty *vty, int arg_base, int argc, struct cmd_token
DEFUN (debug_ospf_lsa,
debug_ospf_lsa_cmd,
- "debug ospf lsa [generate|flooding|install|refresh]",
+ "debug ospf lsa [<generate|flooding|install|refresh>]",
DEBUG_STR
OSPF_STR
"OSPF Link State Advertisement\n"
@@ -1220,7 +1220,7 @@ DEFUN (debug_ospf_lsa,
DEFUN (debug_ospf_instance_lsa,
debug_ospf_instance_lsa_cmd,
- "debug ospf (1-65535) lsa [generate|flooding|install|refresh]",
+ "debug ospf (1-65535) lsa [<generate|flooding|install|refresh>]",
DEBUG_STR
OSPF_STR
"Instance ID\n"
@@ -1283,7 +1283,7 @@ no_debug_ospf_lsa_common (struct vty *vty, int arg_base, int argc, struct cmd_to
DEFUN (no_debug_ospf_lsa,
no_debug_ospf_lsa_cmd,
- "no debug ospf lsa [generate|flooding|install|refresh]",
+ "no debug ospf lsa [<generate|flooding|install|refresh>]",
NO_STR
DEBUG_STR
OSPF_STR
@@ -1298,7 +1298,7 @@ DEFUN (no_debug_ospf_lsa,
DEFUN (no_debug_ospf_instance_lsa,
no_debug_ospf_instance_lsa_cmd,
- "no debug ospf (1-65535) lsa [generate|flooding|install|refresh]",
+ "no debug ospf (1-65535) lsa [<generate|flooding|install|refresh>]",
NO_STR
DEBUG_STR
OSPF_STR
@@ -1354,7 +1354,7 @@ debug_ospf_zebra_common (struct vty *vty, int arg_base, int argc, struct cmd_tok
DEFUN (debug_ospf_zebra,
debug_ospf_zebra_cmd,
- "debug ospf zebra [interface|redistribute]",
+ "debug ospf zebra [<interface|redistribute>]",
DEBUG_STR
OSPF_STR
"OSPF Zebra information\n"
@@ -1366,7 +1366,7 @@ DEFUN (debug_ospf_zebra,
DEFUN (debug_ospf_instance_zebra,
debug_ospf_instance_zebra_cmd,
- "debug ospf (1-65535) zebra [interface|redistribute]",
+ "debug ospf (1-65535) zebra [<interface|redistribute>]",
DEBUG_STR
OSPF_STR
"Instance ID\n"
@@ -1420,7 +1420,7 @@ no_debug_ospf_zebra_common(struct vty *vty, int arg_base, int argc,
DEFUN (no_debug_ospf_zebra,
no_debug_ospf_zebra_cmd,
- "no debug ospf zebra [interface|redistribute]",
+ "no debug ospf zebra [<interface|redistribute>]",
NO_STR
DEBUG_STR
OSPF_STR
@@ -1433,7 +1433,7 @@ DEFUN (no_debug_ospf_zebra,
DEFUN (no_debug_ospf_instance_zebra,
no_debug_ospf_instance_zebra_cmd,
- "no debug ospf (1-65535) zebra [interface|redistribute]",
+ "no debug ospf (1-65535) zebra [<interface|redistribute>]",
NO_STR
DEBUG_STR
OSPF_STR