diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-12-03 18:16:24 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-12-03 18:16:24 +0300 |
| commit | 32931e1af8478c853b77f52f9119bec5764c38da (patch) | |
| tree | 1909fdb952fae1f6707586fef6dea729fc3fbd43 | |
| parent | 22108570e3ba034c855aff140bababf231a66837 (diff) | |
isisd: fix running-config for fast-reroute
YANG leaf means "enable" while CLI command is "disable".
So we should use "no" when the leaf is "true", not "false".
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
| -rw-r--r-- | isisd/isis_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index bf03d0a050..21162045ad 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -1853,7 +1853,7 @@ void cli_show_isis_frr_lfa_load_sharing(struct vty *vty, const struct lyd_node *dnode, bool show_defaults) { - if (!yang_dnode_get_bool(dnode, NULL)) + if (yang_dnode_get_bool(dnode, NULL)) vty_out(vty, " no"); vty_out(vty, " fast-reroute load-sharing disable %s\n", |
