bgpd: Fix Graceful-Restart for peer-groups #17501
Merged
frrbot / frrbot
completed
Nov 25, 2024 in 10s
Style and/or linter errors found
Style and/or linter errors found
Details
Thanks for your contribution to FRR!
Click for style suggestions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index d1238bc8d..6e4316690 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -14905,7 +14905,7 @@ static void bgp_show_peer(struct vty *vty, struct peer *p, bool use_json,
json_object_string_add(json_cap, "gracefulRestart",
"advertised");
#if CONFDATE > 20250525
-CPP_NOTICE("Remove `gracefulRestartCapability` JSON field")
+ CPP_NOTICE("Remove `gracefulRestartCapability` JSON field")
#endif
json_object_string_add(
json_cap,
@@ -14915,7 +14915,7 @@ CPP_NOTICE("Remove `gracefulRestartCapability` JSON field")
json_object_string_add(json_cap, "gracefulRestart",
"received");
#if CONFDATE > 20250525
-CPP_NOTICE("Remove `gracefulRestartCapability` JSON field")
+ CPP_NOTICE("Remove `gracefulRestartCapability` JSON field")
#endif
json_object_string_add(
json_cap,
To apply the style suggestions:
curl https://gist.githubusercontent.com/polychaeta/de832fe7310343264a66aa67ef966e6d/raw/27675fc6d8758d539ba9fcf734a11a09984a3ab4/style.diff | git apply -
If you are a new contributor to FRR, please see our contributing guidelines.
After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.
Loading