diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-07 14:43:47 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-07 14:43:47 +0100 |
commit | 8783071f70e0d9351cde8bfe5f9360e831388415 (patch) | |
tree | 1cfc17b8cb86a7118260ee23239014a4c7955dee /iptables-save.c | |
parent | c3d0a7b800277fcc4401f19a584edf1d7dfaeda9 (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.c | 3 |
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; |