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