summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_top.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-25 23:02:37 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-11-27 10:20:59 +0100
commitc48349e346571d307b48ca594f6edd096be7ccfd (patch)
tree3d465f92432dedb0f4496d4682228d36f29b2db9 /ospf6d/ospf6_top.c
parentbgpd: Convert vty_out to vty_json for JSON (diff)
downloadfrr-c48349e346571d307b48ca594f6edd096be7ccfd.tar.xz
frr-c48349e346571d307b48ca594f6edd096be7ccfd.zip
*: Remove redundand braces for single statement blocks
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ospf6d/ospf6_top.c')
-rw-r--r--ospf6d/ospf6_top.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index 66313c1fb..6bff52fc5 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -2096,9 +2096,8 @@ DEFPY (show_ipv6_ospf6_external_aggregator,
static void ospf6_stub_router_config_write(struct vty *vty, struct ospf6 *ospf6)
{
- if (CHECK_FLAG(ospf6->flag, OSPF6_STUB_ROUTER)) {
+ if (CHECK_FLAG(ospf6->flag, OSPF6_STUB_ROUTER))
vty_out(vty, " stub-router administrative\n");
- }
return;
}