mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 01:00:33 +00:00
Merge pull request #15517 from idryzhov/fix-yang-notif-actions
lib: fix initialization of northbound nodes
This commit is contained in:
commit
c5ecee63ac
10
lib/yang.c
10
lib/yang.c
@ -199,6 +199,16 @@ next:
|
||||
if (ret == YANG_ITER_STOP)
|
||||
return ret;
|
||||
}
|
||||
LY_LIST_FOR ((const struct lysc_node *)lysc_node_notifs(snode), child) {
|
||||
ret = yang_snodes_iterate_subtree(child, module, cb, flags, arg);
|
||||
if (ret == YANG_ITER_STOP)
|
||||
return ret;
|
||||
}
|
||||
LY_LIST_FOR ((const struct lysc_node *)lysc_node_actions(snode), child) {
|
||||
ret = yang_snodes_iterate_subtree(child, module, cb, flags, arg);
|
||||
if (ret == YANG_ITER_STOP)
|
||||
return ret;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user