diff options
author | 2016-05-23 16:39:47 +0000 | |
---|---|---|
committer | 2016-05-23 16:39:47 +0000 | |
commit | eee72fdddaf0f330d8260be46ee9a5317187366b (patch) | |
tree | 501ce8f61d8fb8493e4b2f76b7bda8ce3a93c64b /usr.sbin/ldpd/labelmapping.c | |
parent | Check for local label before trying to install pseudowire. (diff) | |
download | wireguard-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