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 use single whitespace when displaying flowspec entries (backport #17510) #17524

Merged
merged 1 commit into from
Nov 28, 2024

bgpd: fix use single whitespace when displaying flowspec entries

9c78057
Select commit
Loading
Failed to load commit list.
Merged

bgpd: fix use single whitespace when displaying flowspec entries (backport #17510) #17524

bgpd: fix use single whitespace when displaying flowspec entries
9c78057
Select commit
Loading
Failed to load commit list.
frrbot / frrbot completed Nov 26, 2024 in 31s

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_flowspec_vty.c b/bgpd/bgp_flowspec_vty.c
index 3d2dda4ee..ebb67d5c5 100644
--- a/bgpd/bgp_flowspec_vty.c
+++ b/bgpd/bgp_flowspec_vty.c
@@ -440,9 +440,7 @@ int bgp_show_table_flowspec(struct vty *vty, struct bgp *bgp, afi_t afi,
 		}
 	}
 	if (total_count && !use_json)
-		vty_out(vty,
-			"\nDisplayed %ld flowspec entries\n",
-			total_count);
+		vty_out(vty, "\nDisplayed %ld flowspec entries\n", total_count);
 	return CMD_SUCCESS;
 }
 

To apply the style suggestions:

curl https://gist.githubusercontent.com/polychaeta/e56446e07954a0f968efd163331813a1/raw/a062348ffd51f2cc2aec647ba1caf83ae6aa34c3/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.