From 8783071f70e0d9351cde8bfe5f9360e831388415 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 7 Jan 2009 14:43:47 +0100 Subject: env: augment deprecation notice Tell the user what to use instead of IP*TABLES_LIBDIR. Signed-off-by: Jan Engelhardt Signed-off-by: Pablo Neira Ayuso --- ip6tables-restore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ip6tables-restore.c') diff --git a/ip6tables-restore.c b/ip6tables-restore.c index 01bccf77..a84c2e3e 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c @@ -133,7 +133,8 @@ int main(int argc, char *argv[]) if (lib_dir == NULL) { lib_dir = getenv("IP6TABLES_LIB_DIR"); if (lib_dir != NULL) - fprintf(stderr, "IP6TABLES_LIB_DIR is deprecated\n"); + fprintf(stderr, "IP6TABLES_LIB_DIR is deprecated, " + "use XTABLES_LIBDIR.\n"); } if (lib_dir == NULL) lib_dir = XTABLES_LIBDIR; -- cgit v1.2.3