summaryrefslogtreecommitdiffstats
path: root/pathd
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 /pathd
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 'pathd')
-rw-r--r--pathd/path_ted.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pathd/path_ted.c b/pathd/path_ted.c
index 52011402d..6bfca5045 100644
--- a/pathd/path_ted.c
+++ b/pathd/path_ted.c
@@ -471,9 +471,8 @@ DEFPY (show_pahtd_ted_db,
}
/* Show the complete TED */
ls_show_ted(ted_state_g.ted, vty, json, !st_json);
- if (st_json) {
+ if (st_json)
vty_json(vty, json);
- }
return CMD_SUCCESS;
}