From 5be73836076f53d61dfbc0301f245171f39e5458 Mon Sep 17 00:00:00 2001 From: Francois Dumontet Date: Wed, 11 Oct 2023 21:31:40 +0200 Subject: [PATCH] bgpd: fix new Formatting / Styling warning Signed-off-by: Francois Dumontet --- bgpd/bgp_snmp.c | 12 ++++++------ bgpd/bgpd.h | 2 +- lib/agentx.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c index 049d93aaeedd..065ea7672c1e 100644 --- a/bgpd/bgp_snmp.c +++ b/bgpd/bgp_snmp.c @@ -38,9 +38,9 @@ static int bgp_cli_snmp_traps_config_write(struct vty *vty); DEFPY(bgp_snmp_traps_rfc4273, bgp_snmp_traps_rfc4273_cmd, "[no$no] bgp snmp traps rfc4273", NO_STR BGP_STR - "Configure BGP SNMP\n" - "Configure SNMP traps for BGP\n" - "Configure use of rfc4273 SNMP traps for BGP\n") + "Configure BGP SNMP\n" + "Configure SNMP traps for BGP\n" + "Configure use of rfc4273 SNMP traps for BGP\n") { if (no) { UNSET_FLAG(bm->options, BGP_OPT_TRAPS_RFC4273); @@ -53,9 +53,9 @@ DEFPY(bgp_snmp_traps_rfc4273, bgp_snmp_traps_rfc4273_cmd, DEFPY(bgp_snmp_traps_bgp4_mibv2, bgp_snmp_traps_bgp4_mibv2_cmd, "[no$no] bgp snmp traps bgp4-mibv2", NO_STR BGP_STR - "Configure BGP SNMP\n" - "Configure SNMP traps for BGP\n" - "Configure use of BGP4-MIBv2 SNMP traps for BGP\n") + "Configure BGP SNMP\n" + "Configure SNMP traps for BGP\n" + "Configure use of BGP4-MIBv2 SNMP traps for BGP\n") { if (no) { UNSET_FLAG(bm->options, BGP_OPT_TRAPS_BGP4MIBV2); diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 53faeebddff6..8c0bac385b48 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -834,7 +834,7 @@ DECLARE_HOOK(bgp_inst_delete, (struct bgp *bgp), (bgp)); DECLARE_HOOK(bgp_inst_config_write, (struct bgp *bgp, struct vty *vty), (bgp, vty)); -DECLARE_HOOK(bgp_snmp_traps_config_write, (struct vty * vty), (vty)); +DECLARE_HOOK(bgp_snmp_traps_config_write, (struct vty *vty), (vty)); DECLARE_HOOK(bgp_config_end, (struct bgp *bgp), (bgp)); /* Thread callback information */ diff --git a/lib/agentx.c b/lib/agentx.c index 61672a9c3d52..54a9c9de2bd4 100644 --- a/lib/agentx.c +++ b/lib/agentx.c @@ -24,7 +24,7 @@ XREF_SETUP(); DEFINE_HOOK(agentx_enabled, (), ()); -DEFINE_HOOK(bgp_snmp_traps_config_write, (struct vty * vty), (vty)); +DEFINE_HOOK(bgp_snmp_traps_config_write, (struct vty *vty), (vty)); static bool agentx_enabled = false;