]> git.proxmox.com Git - mirror_frr.git/commit - lib/northbound.c
lib: move all userdata when changing node xpath
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 4 Jun 2020 23:26:42 +0000 (19:26 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 5 Jun 2020 00:24:52 +0000 (20:24 -0400)
commitf7c20aa1fd5b997a6c545f0f064b82ad8a5cd3ce
treec02e2394dbbff468c651e803ee144d6e818fc649
parentf981d44931ced06f594b33c54a27d6d843ad0379
lib: move all userdata when changing node xpath

All userdata pointers need to be rekeyed to their new xpaths, not just
the one associated with the dnode being moved.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/if.c
lib/northbound.c
lib/northbound.h