summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/eurephiafw.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-11-26 22:05:28 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-11-26 22:05:28 +0100
commit525d75316848f79208101e48a54e21396464c98b (patch)
tree9475b2a3821d317a55ad118903839fed163e10d7 /plugin/firewall/eurephiafw.h
parent5581ba10af35b94e750596312a9782255084aaeb (diff)
downloadeurephia-525d75316848f79208101e48a54e21396464c98b.tar.gz
eurephia-525d75316848f79208101e48a54e21396464c98b.tar.xz
eurephia-525d75316848f79208101e48a54e21396464c98b.zip
Move daemonize() code to be called in the firewall child thread only
The eurephia plug-in would daemonize the OpenVPN process by calling daemonize() too early. This patch renames daemoinze() to efw_daemonize() and calls it only in the firewall child process. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'plugin/firewall/eurephiafw.h')
-rw-r--r--plugin/firewall/eurephiafw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/firewall/eurephiafw.h b/plugin/firewall/eurephiafw.h
index 7703fe5..72dc9bd 100644
--- a/plugin/firewall/eurephiafw.h
+++ b/plugin/firewall/eurephiafw.h
@@ -35,7 +35,7 @@
int eFW_load(eurephiaCTX *ctx, const char *intf);
int eFW_unload(eurephiaCTX *ctx);
-void eFW_StartFirewall(eurephiaCTX *ctx);
+void eFW_StartFirewall(eurephiaCTX *ctx, const int daemon, const int logredir);
void eFW_StopFirewall(eurephiaCTX *ctx);
int eFW_UpdateFirewall(eurephiaCTX *ctx, eFWupdateRequest *request);