summaryrefslogtreecommitdiffstats
path: root/iptables-standalone.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r--iptables-standalone.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c
index 244db5f..257b677 100644
--- a/iptables-standalone.c
+++ b/iptables-standalone.c
@@ -52,6 +52,10 @@ main(int argc, char *argv[])
program_name = "iptables";
program_version = IPTABLES_VERSION;
+ lib_dir = getenv("IPTABLES_LIB_DIR");
+ if (!lib_dir)
+ lib_dir = IPT_LIB_DIR;
+
#ifdef NO_SHARED_LIBS
init_extensions();
#endif