mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 06:31:27 +00:00
lib: do not subscribe to config changes on a state data tree (confd plugin)
Prevent the confd plugin from subscribing to configuration changes on a data tree that contains only state data. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
544ca69a5c
commit
85cd3326fd
@ -430,6 +430,9 @@ static int frr_confd_init_cdb(void)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CHECK_FLAG(snode->flags, LYS_CONFIG_R))
|
||||||
|
continue;
|
||||||
|
|
||||||
nb_node = snode->priv;
|
nb_node = snode->priv;
|
||||||
if (debug_northbound)
|
if (debug_northbound)
|
||||||
zlog_debug("%s: subscribing to '%s'", __func__,
|
zlog_debug("%s: subscribing to '%s'", __func__,
|
||||||
|
Loading…
Reference in New Issue
Block a user