diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-03-30 11:53:07 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-03-30 11:53:07 +0200 |
commit | 7f464ce266ad8de20ddf1262994fe12103c705ac (patch) | |
tree | 19b7d72c32394b49ed277d89e25c639336d2bdd5 /utils | |
parent | 5c04850788f6b8d85182cbe650c1d9cddef4011a (diff) | |
download | eurephia-7f464ce266ad8de20ddf1262994fe12103c705ac.tar.gz eurephia-7f464ce266ad8de20ddf1262994fe12103c705ac.tar.xz eurephia-7f464ce266ad8de20ddf1262994fe12103c705ac.zip |
Using right plug-in path in eurephia_init
This is a regression introduced in commit cda490e1fc19904d015d8d5853af731d3cd983ea
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 2 | ||||
-rw-r--r-- | utils/eurephia_init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index dcc8b00..949c376 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -18,7 +18,7 @@ IF(EUREPHIADM) ../eurephiadm/client_context.c ) - ADD_DEFINITIONS(-DBENCHMARK -DINSTALL_PREFIX="${PREFIX}") + ADD_DEFINITIONS(-DBENCHMARK -DPLUGINDIR="${PLUGINDIR}") IF(FW_IPTABLES) ADD_DEFINITIONS(-DFW_IPTABLES) ENDIF(FW_IPTABLES) diff --git a/utils/eurephia_init.c b/utils/eurephia_init.c index 03dfce0..eb4dce1 100644 --- a/utils/eurephia_init.c +++ b/utils/eurephia_init.c @@ -370,7 +370,7 @@ int setup_iptables(eurephiaCTX *ctx) { goto ipt_done; } - snprintf(value, 1024, "%s/efw-iptables.so", INSTALL_PREFIX); + snprintf(value, 1024, "%s/efw-iptables.so", PLUGINDIR); snprintf(prompt, 178, "\nFull path to the efw-iptables.so library:\n[%s]", value); get_console_input(buffer, 1024, prompt, 0); if( !eDBadminConfigSet(ctx, "firewall_interface", (strlen_nullsafe(buffer) > 1 ? buffer : value)) ) { |