summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-01-30 04:54:25 -0500
committerRenato Westphal <renato@opensourcerouting.org>2019-02-11 15:49:49 -0200
commit95ce849b58cb8706b32d6cfb957286c8007da37e (patch)
tree62b76d34d6fbdcd520ff02bd55d3a1b5f4decb98 /lib/if.c
parentd01b92fd7507d64bec89350daf725aa6fb9fdcf4 (diff)
libs, rip, isis: change northbound operation enum to DESTROY
Change the northbound lib operation from DELETE to DESTROY; make the required changes in the users of the northbound, in the cli, rip, ripng, and isis. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.c b/lib/if.c
index 16b6512441..48841c7ee8 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -1160,7 +1160,7 @@ DEFPY (no_interface,
if (!vrfname)
vrfname = VRF_DEFAULT_NAME;
- nb_cli_enqueue_change(vty, ".", NB_OP_DELETE, NULL);
+ nb_cli_enqueue_change(vty, ".", NB_OP_DESTROY, NULL);
return nb_cli_apply_changes(
vty, "/frr-interface:lib/interface[name='%s'][vrf='%s']",
@@ -1207,7 +1207,7 @@ DEFPY (no_interface_desc,
NO_STR
"Interface specific description\n")
{
- nb_cli_enqueue_change(vty, "./description", NB_OP_DELETE, NULL);
+ nb_cli_enqueue_change(vty, "./description", NB_OP_DESTROY, NULL);
return nb_cli_apply_changes(vty, NULL);
}