]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Cap LLGR stale-time to 16777215 12256/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 4 Nov 2022 06:21:18 +0000 (08:21 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 4 Nov 2022 06:21:18 +0000 (08:21 +0200)
This value is 3 bytes (24-bits), let's do not overuse this.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_vty.c
doc/user/bgp.rst

index 057f9ffc370683089892859f3ebad4754972caaf..1f66080e93ba02503eb3c02ff7d09cc6a3adc044 100644 (file)
@@ -3394,7 +3394,7 @@ DEFUN (no_bgp_graceful_restart_rib_stale_time,
 }
 
 DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd,
-      "bgp long-lived-graceful-restart stale-time (1-4294967295)",
+      "bgp long-lived-graceful-restart stale-time (1-16777215)",
       BGP_STR
       "Enable Long-lived Graceful Restart\n"
       "Specifies maximum time to wait before purging long-lived stale routes\n"
@@ -3411,7 +3411,7 @@ DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd,
 }
 
 DEFUN(no_bgp_llgr_stalepath_time, no_bgp_llgr_stalepath_time_cmd,
-      "no bgp long-lived-graceful-restart stale-time [(1-4294967295)]",
+      "no bgp long-lived-graceful-restart stale-time [(1-16777215)]",
       NO_STR BGP_STR
       "Enable Long-lived Graceful Restart\n"
       "Specifies maximum time to wait before purging long-lived stale routes\n"
index 695530dbfe5ebda6798a01b4f01620326975591c..7083b19b90125235879f15e65dc819546e4a29d0 100644 (file)
@@ -1052,7 +1052,7 @@ Long-lived Graceful Restart
 Currently, only restarter mode is supported. This capability is advertised only
 if graceful restart capability is negotiated.
 
-.. clicmd:: bgp long-lived-graceful-restart stale-time (1-4294967295)
+.. clicmd:: bgp long-lived-graceful-restart stale-time (1-16777215)
 
    Specifies the maximum time to wait before purging long-lived stale routes for
    helper routers.