]> git.puffer.fish Git - matthieu/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>
Tue, 16 Mar 2021 14:44:25 +0000 (17:44 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
eigrpd/eigrp_cli.c

index 00d8ea8867284b2161c7bb618557e32fd2dff7ce..0de72d1ac87cefeac0f53f1c8ca198c683ef395b 100644 (file)
@@ -671,7 +671,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);
@@ -694,7 +694,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);