diff options
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r-- | iptables-standalone.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c index 244db5fe..257b6777 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 |