summaryrefslogtreecommitdiffstats
path: root/pathd
diff options
context:
space:
mode:
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;
}