From: Igor Ryzhov Date: Fri, 12 Mar 2021 22:50:08 +0000 (+0300) Subject: eigrpd: fix xpaths X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5b2da949dca620104037f7ee845745d0b30be976;p=mirror%2Ffrr.git eigrpd: fix xpaths Signed-off-by: Igor Ryzhov --- diff --git a/eigrpd/eigrp_cli.c b/eigrpd/eigrp_cli.c index 3610b3a869..3e667aa6b7 100644 --- a/eigrpd/eigrp_cli.c +++ b/eigrpd/eigrp_cli.c @@ -670,7 +670,7 @@ DEFPY_YANG( as_str); nb_cli_enqueue_change(vty, xpath, NB_OP_CREATE, NULL); - snprintf(xpath_auth, sizeof(xpath_auth), "%s/summarize-address", xpath); + snprintf(xpath_auth, sizeof(xpath_auth), "%s/summarize-addresses", xpath); nb_cli_enqueue_change(vty, xpath_auth, NB_OP_CREATE, prefix_str); return nb_cli_apply_changes(vty, NULL); @@ -693,7 +693,7 @@ DEFPY_YANG( as_str); nb_cli_enqueue_change(vty, xpath, NB_OP_CREATE, NULL); - snprintf(xpath_auth, sizeof(xpath_auth), "%s/summarize-address", xpath); + snprintf(xpath_auth, sizeof(xpath_auth), "%s/summarize-addresses", xpath); nb_cli_enqueue_change(vty, xpath_auth, NB_OP_DESTROY, prefix_str); return nb_cli_apply_changes(vty, NULL);