summaryrefslogtreecommitdiff
path: root/tools/gen_northbound_callbacks.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 /tools/gen_northbound_callbacks.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 'tools/gen_northbound_callbacks.c')
-rw-r--r--tools/gen_northbound_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen_northbound_callbacks.c b/tools/gen_northbound_callbacks.c
index eded87c12e..f6c757f5d7 100644
--- a/tools/gen_northbound_callbacks.c
+++ b/tools/gen_northbound_callbacks.c
@@ -54,7 +54,7 @@ static struct nb_callback_info {
"enum nb_event event, const struct lyd_node *dnode, union nb_resource *resource",
},
{
- .operation = NB_OP_DELETE,
+ .operation = NB_OP_DESTROY,
.return_type = "int ",
.return_value = "NB_OK",
.arguments =