summaryrefslogtreecommitdiffstats
path: root/iptables-standalone.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-07 14:43:47 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-07 14:43:47 +0100
commit8783071f70e0d9351cde8bfe5f9360e831388415 (patch)
tree1cfc17b8cb86a7118260ee23239014a4c7955dee /iptables-standalone.c
parentc3d0a7b800277fcc4401f19a584edf1d7dfaeda9 (diff)
env: augment deprecation notice
Tell the user what to use instead of IP*TABLES_LIBDIR. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r--iptables-standalone.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c
index dbfae5be..3f2432fe 100644
--- a/iptables-standalone.c
+++ b/iptables-standalone.c
@@ -57,7 +57,8 @@ main(int argc, char *argv[])
if (lib_dir == NULL) {
lib_dir = getenv("IPTABLES_LIB_DIR");
if (lib_dir != NULL)
- fprintf(stderr, "IPTABLES_LIB_DIR is deprecated\n");
+ fprintf(stderr, "IPTABLES_LIB_DIR is deprecated, "
+ "use XTABLES_LIBDIR.\n");
}
if (lib_dir == NULL)
lib_dir = XTABLES_LIBDIR;