diff options
| author | Christian Hopps <chopps@labn.net> | 2024-01-21 14:01:58 +0000 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2024-01-22 11:33:33 +0000 | 
| commit | 8f7a9355f216adbfb4c2727432e394b5bc8d5703 (patch) | |
| tree | fa3d823203e6bb056158930af4307d31a1b9eea3 /ripd/rip_nb_config.c | |
| parent | a993b8e9bb71407e4adb478e8a57f35fdf85febd (diff) | |
ripd: use new distribute-list northbound code.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'ripd/rip_nb_config.c')
| -rw-r--r-- | ripd/rip_nb_config.c | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/ripd/rip_nb_config.c b/ripd/rip_nb_config.c index 8b9cc922ad..fb7533789b 100644 --- a/ripd/rip_nb_config.c +++ b/ripd/rip_nb_config.c @@ -548,6 +548,23 @@ int ripd_instance_non_passive_interface_destroy(struct nb_cb_destroy_args *args)  	return rip_passive_nondefault_unset(rip, ifname);  } + +/* + * XPath: /frr-ripd:ripd/instance/distribute-list + */ +int ripd_instance_distribute_list_create(struct nb_cb_create_args *args) +{ +	struct rip *rip; + +	if (args->event != NB_EV_APPLY) +		return NB_OK; + +	rip = nb_running_get_entry(args->dnode, NULL, true); +	group_distribute_list_create_helper(args, rip->distribute_ctx); + +	return NB_OK; +} +  /*   * XPath: /frr-ripd:ripd/instance/redistribute   */  | 
