diff options
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/firewall/eurephiafw.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/firewall/eurephiafw.c b/plugin/firewall/eurephiafw.c index d74a383..51661d6 100644 --- a/plugin/firewall/eurephiafw.c +++ b/plugin/firewall/eurephiafw.c @@ -254,7 +254,11 @@ void eFW_StartFirewall(eurephiaCTX *ctx, const int daemon, const int logredir) { if( daemon ) { efw_daemonize(ctx, logredir); } - eDBdisconnect(ctx); + if( eDBdisconnect_firewall == NULL ) { + eDBdisconnect(ctx); + } else { + eDBdisconnect_firewall(ctx); + } eFW_RunFirewall(&(*ctx->fwcfg).thrdata); exit(-1); // If our child process exits abnormally. |
