]> git.puffer.fish Git - mirror/frr.git/commitdiff
eigrpd: fix xpaths
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 12 Mar 2021 22:50:08 +0000 (01:50 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 24 Mar 2021 15:55:56 +0000 (18:55 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
eigrpd/eigrp_cli.c

index 3610b3a869803dae2a9c84ed44ab538a13738d2d..3e667aa6b720a7c9e4a26c3df8dd8e4fc6b470e8 100644 (file)
@@ -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);