From 32931e1af8478c853b77f52f9119bec5764c38da Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Fri, 3 Dec 2021 18:16:24 +0300 Subject: [PATCH] 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 --- isisd/isis_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5