summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-03-11 14:14:42 -0500
committerGitHub <noreply@github.com>2022-03-11 14:14:42 -0500
commitef58d790d968fc348c1e46350efd3245a8a3f9e4 (patch)
tree9ecc764da34e3a391dc2bd2c53be2bd37347e917
parentab32dd7ec63c87bc08a9fec688638c38d3267748 (diff)
parent7b7fb7f22230bbfdc651937dbf613e955f9696c6 (diff)
Merge pull request #10777 from FRRouting/mergify/bp/stable/8.2/pr-10767
bgpd: Do not fail when going from GR mode to GR (backport #10767)
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 43046f7f18..7e528b2191 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -1223,7 +1223,7 @@ int bgp_global_gr_init(struct bgp *bgp)
{
/*Event -> */
/*GLOBAL_GR_cmd*/ /*no_Global_GR_cmd*/
- GLOBAL_INVALID, GLOBAL_HELPER,
+ GLOBAL_GR, GLOBAL_HELPER,
/*GLOBAL_DISABLE_cmd*/ /*no_Global_Disable_cmd*/
GLOBAL_DISABLE, GLOBAL_INVALID
},