* env: augment deprecation notice
@ 2009-01-07 5:01 Jan Engelhardt
2009-01-07 13:44 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-01-07 5:01 UTC (permalink / raw)
To: kaber; +Cc: Netfilter Developer Mailing List
parent 6fdeb9468f1bac11698b200530cd454a167e1e39
commit f19f52defad1145b062528db75eab6db43be7446
Author: Jan Engelhardt <jengelh@medozas.de>
Date: Wed Jan 7 06:00:41 2009 +0100
env: augment deprecation notice
Tell the user what to use instead of IP*TABLES_LIBDIR.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
ip6tables-restore.c | 3 ++-
ip6tables-save.c | 3 ++-
ip6tables-standalone.c | 3 ++-
iptables-restore.c | 3 ++-
iptables-save.c | 3 ++-
iptables-standalone.c | 3 ++-
6 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 01bccf7..a84c2e3 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;
diff --git a/ip6tables-save.c b/ip6tables-save.c
index d5f8e54..11ef8c4 100644
--- a/ip6tables-save.c
+++ b/ip6tables-save.c
@@ -143,7 +143,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;
diff --git a/ip6tables-standalone.c b/ip6tables-standalone.c
index 11c7cb0..f4b1f18 100644
--- a/ip6tables-standalone.c
+++ b/ip6tables-standalone.c
@@ -56,7 +56,8 @@ 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;
diff --git a/iptables-restore.c b/iptables-restore.c
index 4ea9306..7cc6d6d 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -135,7 +135,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;
diff --git a/iptables-save.c b/iptables-save.c
index 6252c0b..7118d1f 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;
diff --git a/iptables-standalone.c b/iptables-standalone.c
index dbfae5b..3f2432f 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: env: augment deprecation notice
2009-01-07 5:01 env: augment deprecation notice Jan Engelhardt
@ 2009-01-07 13:44 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2009-01-07 13:44 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: kaber, Netfilter Developer Mailing List
Jan Engelhardt wrote:
> parent 6fdeb9468f1bac11698b200530cd454a167e1e39
> commit f19f52defad1145b062528db75eab6db43be7446
> Author: Jan Engelhardt <jengelh@medozas.de>
> Date: Wed Jan 7 06:00:41 2009 +0100
>
> env: augment deprecation notice
>
> Tell the user what to use instead of IP*TABLES_LIBDIR.
Applied. Thanks Jan.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-07 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 5:01 env: augment deprecation notice Jan Engelhardt
2009-01-07 13:44 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).