summaryrefslogtreecommitdiffstats
path: root/lib/northbound_confd.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-01-30 10:54:25 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-02-11 18:49:49 +0100
commit95ce849b58cb8706b32d6cfb957286c8007da37e (patch)
tree62b76d34d6fbdcd520ff02bd55d3a1b5f4decb98 /lib/northbound_confd.c
parentlibs, daemons: changes to permit c++ compilation (diff)
downloadfrr-95ce849b58cb8706b32d6cfb957286c8007da37e.tar.xz
frr-95ce849b58cb8706b32d6cfb957286c8007da37e.zip
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/northbound_confd.c')
-rw-r--r--lib/northbound_confd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_confd.c b/lib/northbound_confd.c
index 53149d0fd..a8e001781 100644
--- a/lib/northbound_confd.c
+++ b/lib/northbound_confd.c
@@ -228,7 +228,7 @@ frr_confd_cdb_diff_iter(confd_hkeypath_t *kp, enum cdb_iter_op cdb_op,
nb_op = NB_OP_CREATE;
break;
case MOP_DELETED:
- nb_op = NB_OP_DELETE;
+ nb_op = NB_OP_DESTROY;
break;
case MOP_VALUE_SET:
if (nb_operation_is_valid(NB_OP_MODIFY, nb_node->snode))