From 99a522c71bbeeed1442865fb53e581480fc299cc Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 17 Nov 2016 20:19:27 +0000 Subject: [PATCH] ospfd, ospf6d: Clean up and unify doc strings Signed-off-by: Quentin Young --- ospf6d/ospf6_interface.c | 14 +++++++------- ospfd/ospf_vty.c | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 45977c616e..3d15b0b3f8 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1328,7 +1328,7 @@ DEFUN (ipv6_ospf6_hellointerval, "ipv6 ospf6 hello-interval (1-65535)", IP6_STR OSPF6_STR - "Interval time of Hello packets\n" + "Time between HELLO packets\n" SECONDS_STR ) { @@ -1380,7 +1380,7 @@ DEFUN (ipv6_ospf6_transmitdelay, "ipv6 ospf6 transmit-delay (1-3600)", IP6_STR OSPF6_STR - "Transmit delay of this interface\n" + "Link state transmit delay\n" SECONDS_STR ) { @@ -1489,7 +1489,7 @@ DEFUN (ipv6_ospf6_passive, "ipv6 ospf6 passive", IP6_STR OSPF6_STR - "passive interface, No adjacency will be formed on this interface\n" + "Passive interface; no adjacency will be formed on this interface\n" ) { struct ospf6_interface *oi; @@ -1550,7 +1550,7 @@ DEFUN (ipv6_ospf6_mtu_ignore, "ipv6 ospf6 mtu-ignore", IP6_STR OSPF6_STR - "Ignore MTU mismatch on this interface\n" + "Disable MTU mismatch detection on this interface\n" ) { struct ospf6_interface *oi; @@ -1575,7 +1575,7 @@ DEFUN (no_ipv6_ospf6_mtu_ignore, NO_STR IP6_STR OSPF6_STR - "Ignore MTU mismatch on this interface\n" + "Disable MTU mismatch detection on this interface\n" ) { struct ospf6_interface *oi; @@ -1684,7 +1684,7 @@ DEFUN (ipv6_ospf6_network, "ipv6 ospf6 network ", IP6_STR OSPF6_STR - "Network Type\n" + "Network type\n" "Specify OSPF6 broadcast network\n" "Specify OSPF6 point-to-point network\n" ) @@ -1730,7 +1730,7 @@ DEFUN (no_ipv6_ospf6_network, NO_STR IP6_STR OSPF6_STR - "Network Type\n" + "Network type\n" "Default to whatever interface type system specifies" ) { diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index c6d9488a10..4f5204be77 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -1029,7 +1029,7 @@ ospf_vl_set (struct ospf *ospf, struct ospf_vl_config_data *vl_config) "Time between HELLO packets\n" \ "Time between retransmitting lost link state advertisements\n" \ "Link state transmit delay\n" \ - "Interval after which a neighbor is declared dead\n" + "Interval time after which a neighbor is declared down\n" #define VLINK_HELPSTR_TIME_PARAM \ VLINK_HELPSTR_TIME_PARAM_NOSECS \ @@ -6485,7 +6485,7 @@ DEFUN (ip_ospf_dead_interval, "ip ospf dead-interval (1-65535) [A.B.C.D]", "IP Information\n" "OSPF interface commands\n" - "Interval after which a neighbor is declared dead\n" + "Interval time after which a neighbor is declared down\n" "Seconds\n" "Address of interface\n") { @@ -6500,7 +6500,7 @@ DEFUN_HIDDEN (ospf_dead_interval, ospf_dead_interval_cmd, "ospf dead-interval (1-65535) [A.B.C.D]", "OSPF interface commands\n" - "Interval after which a neighbor is declared dead\n" + "Interval time after which a neighbor is declared down\n" "Seconds\n" "Address of interface\n") { @@ -6512,7 +6512,7 @@ DEFUN (ip_ospf_dead_interval_minimal, "ip ospf dead-interval minimal hello-multiplier (1-10) [A.B.C.D]", "IP Information\n" "OSPF interface commands\n" - "Interval after which a neighbor is declared dead\n" + "Interval time after which a neighbor is declared down\n" "Minimal 1s dead-interval with fast sub-second hellos\n" "Hello multiplier factor\n" "Number of Hellos to send each second\n" @@ -6532,7 +6532,7 @@ DEFUN (no_ip_ospf_dead_interval, NO_STR "IP Information\n" "OSPF interface commands\n" - "Interval after which a neighbor is declared dead\n" + "Interval time after which a neighbor is declared down\n" "Seconds\n" "Address of interface") { @@ -6601,7 +6601,7 @@ DEFUN_HIDDEN (no_ospf_dead_interval, "no ospf dead-interval [<(1-65535)|minimal hello-multiplier (1-10)> [A.B.C.D]]", NO_STR "OSPF interface commands\n" - "Interval after which a neighbor is declared dead\n" + "Interval time after which a neighbor is declared down\n" "Seconds\n" "Address of interface") { @@ -7880,7 +7880,7 @@ DEFUN (ip_ospf_mtu_ignore, "ip ospf mtu-ignore [A.B.C.D]", "IP Information\n" "OSPF interface commands\n" - "Disable mtu mismatch detection\n" + "Disable MTU mismatch detection on this interface\n" "Address of interface") { int idx_ipv4 = 3; @@ -7923,7 +7923,7 @@ DEFUN (no_ip_ospf_mtu_ignore, "no ip ospf mtu-ignore [A.B.C.D]", "IP Information\n" "OSPF interface commands\n" - "Disable mtu mismatch detection\n" + "Disable MTU mismatch detection on this interface\n" "Address of interface") { int idx_ipv4 = 4; -- 2.39.5