X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ip6tables-standalone.c;h=36dde33141ef136010816979811e386ca9435e3c;hb=refs%2Fheads%2F4.2;hp=7391ccfb1952e2ad1100a2b589e6388c1e3c8ae2;hpb=8fb737601fb55811d648ca41a8669f0f958d6b81;p=iptables.git 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