diff options
Diffstat (limited to 'iptables-save.c')
-rw-r--r-- | iptables-save.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/iptables-save.c b/iptables-save.c index 7118d1f2..e615de99 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -139,16 +139,7 @@ main(int argc, char *argv[]) program_name = "iptables-save"; program_version = XTABLES_VERSION; - lib_dir = getenv("XTABLES_LIBDIR"); - if (lib_dir == NULL) { - lib_dir = getenv("IPTABLES_LIB_DIR"); - if (lib_dir != NULL) - fprintf(stderr, "IPTABLES_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 |