summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpd/labelmapping.c
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-05-23 16:39:47 +0000
committerrenato <renato@openbsd.org>2016-05-23 16:39:47 +0000
commiteee72fdddaf0f330d8260be46ee9a5317187366b (patch)
tree501ce8f61d8fb8493e4b2f76b7bda8ce3a93c64b /usr.sbin/ldpd/labelmapping.c
parentCheck for local label before trying to install pseudowire. (diff)
downloadwireguard-openbsd-eee72fdddaf0f330d8260be46ee9a5317187366b.tar.xz
wireguard-openbsd-eee72fdddaf0f330d8260be46ee9a5317187366b.zip
clear_config() should only deallocate memory and nothing else.
clear_config() is called when the parser fails (at startup or config reload). While cleaning up the allocated memory, the parser should not log anything, after all the daemon's running configuration is untouched. So, in this case, we se should clear the partial config by hand and avoid functions like if_del().
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
0 files changed, 0 insertions, 0 deletions