summaryrefslogtreecommitdiffstats
path: root/ip6tables-standalone.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip6tables-standalone.c')
-rw-r--r--ip6tables-standalone.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/ip6tables-standalone.c b/ip6tables-standalone.c
index f4b1f18f..95435576 100644
--- a/ip6tables-standalone.c
+++ b/ip6tables-standalone.c
@@ -52,16 +52,7 @@ main(int argc, char *argv[])
program_name = "ip6tables";
program_version = XTABLES_VERSION;
- lib_dir = getenv("XTABLES_LIBDIR");
- if (lib_dir == NULL) {
- lib_dir = getenv("IP6TABLES_LIB_DIR");
- if (lib_dir != NULL)
- fprintf(stderr, "IP6TABLES_LIB_DIR is deprecated, "
- "use XTABLES_LIBDIR.\n");
- }
- if (lib_dir == NULL)
- lib_dir = XTABLES_LIBDIR;
-
+ xtables_init();
#ifdef NO_SHARED_LIBS
init_extensions();
#endif