summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-04-25 11:07:31 -0400
committerGitHub <noreply@github.com>2023-04-25 11:07:31 -0400
commit0ed5c87cfecedb6f789ae7ef42c971c2b89ebb52 (patch)
tree4443405e582542d1af2102bca8da1c074ce36451 /ripd
parent4855ca5e5673927cd3525cf8eddf4328c0017918 (diff)
parent0a2268c28e01888a10d8be88a3133e7c5693d2df (diff)
Merge pull request #13326 from opensourcerouting/feature/rip_topotest_distribute_list
ripd: Create non default passive interface if defined so
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_nb_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripd/rip_nb_config.c b/ripd/rip_nb_config.c
index 343bb9bb57..d237866a41 100644
--- a/ripd/rip_nb_config.c
+++ b/ripd/rip_nb_config.c
@@ -525,7 +525,7 @@ int ripd_instance_non_passive_interface_create(struct nb_cb_create_args *args)
rip = nb_running_get_entry(args->dnode, NULL, true);
ifname = yang_dnode_get_string(args->dnode, NULL);
- return rip_passive_nondefault_unset(rip, ifname);
+ return rip_passive_nondefault_set(rip, ifname);
}
int ripd_instance_non_passive_interface_destroy(struct nb_cb_destroy_args *args)
@@ -539,7 +539,7 @@ int ripd_instance_non_passive_interface_destroy(struct nb_cb_destroy_args *args)
rip = nb_running_get_entry(args->dnode, NULL, true);
ifname = yang_dnode_get_string(args->dnode, NULL);
- return rip_passive_nondefault_set(rip, ifname);
+ return rip_passive_nondefault_unset(rip, ifname);
}
/*