Browse Source

* zeroing config before reload

master
Alex 'AdUser' Z 8 years ago
parent
commit
4b76a42d2c
  1. 1
      src/daemon.c

1
src/daemon.c

@ -387,6 +387,7 @@ int main(int argc, char *argv[]) {
} }
if (state == reconfig) { if (state == reconfig) {
state = run; state = run;
memset(&config, 0x0, sizeof(config));
if (f2b_config_load(&config, opts.config_path, true)) { if (f2b_config_load(&config, opts.config_path, true)) {
jails_stop(jails); jails_stop(jails);
if (config.defaults) if (config.defaults)

Loading…
Cancel
Save