diff options
Diffstat (limited to 'ip6tables-standalone.c')
-rw-r--r-- | ip6tables-standalone.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ip6tables-standalone.c b/ip6tables-standalone.c index 7391ccf..36dde33 100644 --- a/ip6tables-standalone.c +++ b/ip6tables-standalone.c @@ -46,6 +46,10 @@ main(int argc, char *argv[]) program_name = "ip6tables"; program_version = IPTABLES_VERSION; + lib_dir = getenv("IP6TABLES_LIB_DIR"); + if (!lib_dir) + lib_dir = IP6T_LIB_DIR; + #ifdef NO_SHARED_LIBS init_extensions(); #endif |