summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2013-09-16 21:20:38 +0200
committerChristian Franke <chris@opensourcerouting.org>2014-01-08 00:49:41 +0100
commit54bd777005ffd9851b6fe07de78ab728f4b0f4cc (patch)
tree1321670fb2d1e53dccf1cb3a60d12a90ac7751d3 /zebra
parent77f2a04099a7fd5107d11a5b0dcd3b0dc73f9bea (diff)
bgpd,ospfd,zebra: fix some DEFUN definitions
Fixup some DEFUNS with incorrect command strings or mixed up helpstrings. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/debug.c6
-rw-r--r--zebra/rtadv.c2
-rw-r--r--zebra/zebra_vty.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index 7bfdb77d..c3b00e0f 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -35,8 +35,8 @@ DEFUN (show_debugging_zebra,
show_debugging_zebra_cmd,
"show debugging zebra",
SHOW_STR
- "Zebra configuration\n"
- "Debugging information\n")
+ "Debugging information\n"
+ "Zebra configuration\n")
{
vty_out (vty, "Zebra debugging status:%s", VTY_NEWLINE);
@@ -128,7 +128,7 @@ DEFUN (debug_zebra_packet_detail,
"Debug option set for zebra packet\n"
"Debug option set for receive packet\n"
"Debug option set for send packet\n"
- "Debug option set detaied information\n")
+ "Debug option set detailed information\n")
{
zebra_debug_packet = ZEBRA_DEBUG_PACKET;
if (strncmp ("send", argv[0], strlen (argv[0])) == 0)
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index ae5c5a1c..91d7b324 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -1483,7 +1483,7 @@ DEFUN (no_ipv6_nd_router_preference,
ALIAS (no_ipv6_nd_router_preference,
no_ipv6_nd_router_preference_val_cmd,
- "no ipv6 nd router-preference (high|medium|low",
+ "no ipv6 nd router-preference (high|medium|low)",
NO_STR
"Interface IPv6 config commands\n"
"Neighbor discovery\n"
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 45928e93..f4946f46 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -280,9 +280,9 @@ DEFUN (ip_route_mask_flags_distance,
"IP destination prefix mask\n"
"IP gateway address\n"
"IP gateway interface name\n"
- "Distance value for this route\n"
"Emit an ICMP unreachable when matched\n"
- "Silently discard pkts when matched\n")
+ "Silently discard pkts when matched\n"
+ "Distance value for this route\n")
{
return zebra_static_ipv4 (vty, 1, argv[0], argv[1], argv[2], argv[3], argv[4]);
}
@@ -294,9 +294,9 @@ DEFUN (ip_route_mask_flags_distance2,
"Establish static routes\n"
"IP destination prefix\n"
"IP destination prefix mask\n"
- "Distance value for this route\n"
"Emit an ICMP unreachable when matched\n"
- "Silently discard pkts when matched\n")
+ "Silently discard pkts when matched\n"
+ "Distance value for this route\n")
{
return zebra_static_ipv4 (vty, 1, argv[0], argv[1], NULL, argv[2], argv[3]);
}