summaryrefslogtreecommitdiffstats
path: root/iptables-save.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-save.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-save.c')
-rw-r--r--iptables-save.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c
index 6252c0b0..7118d1f2 100644
--- a/iptables-save.c
+++ b/iptables-save.c
@@ -143,7 +143,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;