Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: Fix Graceful-Restart for peer-groups #17501

Merged
merged 3 commits into from
Nov 26, 2024

tests: Check if GR settings are inherited for peer-groups

a4bfa8c
Select commit
Loading
Failed to load commit list.
Merged

bgpd: Fix Graceful-Restart for peer-groups #17501

tests: Check if GR settings are inherited for peer-groups
a4bfa8c
Select commit
Loading
Failed to load commit list.
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.