From: Quentin Young Date: Thu, 17 Nov 2016 20:39:41 +0000 (+0000) Subject: lib, ospf6d: Change SECONDS_STR to be more generic X-Git-Tag: frr-3.0-branchpoint~129^2~23 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=98cfd06b41622c3b0c2be8b2fa00079696f5fd0d;p=matthieu%2Ffrr.git lib, ospf6d: Change SECONDS_STR to be more generic Signed-off-by: Quentin Young --- diff --git a/lib/command.h b/lib/command.h index 50323d3753..f5572f7f83 100644 --- a/lib/command.h +++ b/lib/command.h @@ -367,7 +367,7 @@ struct cmd_element #define IP6_STR "IPv6 Information\n" #define OSPF6_STR "Open Shortest Path First (OSPF) for IPv6\n" #define OSPF6_INSTANCE_STR "(1-65535) Instance ID\n" -#define SECONDS_STR "(1-65535) Seconds\n" +#define SECONDS_STR "Seconds\n" #define ROUTE_STR "Routing Table\n" #define PREFIX_LIST_STR "Build a prefix list\n" #define OSPF6_DUMP_TYPE_LIST \ diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 3d15b0b3f8..8ea4b16957 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1381,8 +1381,7 @@ DEFUN (ipv6_ospf6_transmitdelay, IP6_STR OSPF6_STR "Link state transmit delay\n" - SECONDS_STR - ) + SECONDS_STR) { int idx_number = 3; struct ospf6_interface *oi;