]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: enlarge bgp stalepath timer range from 1-3600 to 1-4095
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 30 Jan 2019 16:07:36 +0000 (17:07 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 30 Jan 2019 16:10:31 +0000 (17:10 +0100)
the maximum value for stalepath timer is extended to 4095 to align with
bgp restart timer value.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_vty.c

index f19e361d600af19a989e82e9728a22761f01359a..be6c06d23676b6ef9d7b827166825476d15be3a8 100644 (file)
@@ -1945,7 +1945,7 @@ DEFUN (no_bgp_graceful_restart,
 
 DEFUN (bgp_graceful_restart_stalepath_time,
        bgp_graceful_restart_stalepath_time_cmd,
-       "bgp graceful-restart stalepath-time (1-3600)",
+       "bgp graceful-restart stalepath-time (1-4095)",
        "BGP specific commands\n"
        "Graceful restart capability parameters\n"
        "Set the max time to hold onto restarting peer's stale paths\n"
@@ -1979,7 +1979,7 @@ DEFUN (bgp_graceful_restart_restart_time,
 
 DEFUN (no_bgp_graceful_restart_stalepath_time,
        no_bgp_graceful_restart_stalepath_time_cmd,
-       "no bgp graceful-restart stalepath-time [(1-3600)]",
+       "no bgp graceful-restart stalepath-time [(1-4095)]",
        NO_STR
        "BGP specific commands\n"
        "Graceful restart capability parameters\n"