From 7e6385a2dec8b46e583485930bb3942f6358fc41 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 20 Sep 2004 17:40:31 -0700 Subject: [PATCH] [PATCH] Warn that ipchains and ipfwadm are going away At the recent netfilter workshop in Erlangen, we was decided to remove the backwards compatibility code for ipchains and ipfwadm. This will allow significant cleanup of interfaces, since we had to have a mid-level interface for the backwards compatibility layer to use. Start off with a warning for 2.6.9, so any remaining users have a chance to migrate. Their firewall scripts might not check return values, and they might get a nasty surprise when this goes away. --- net/ipv4/netfilter/ipchains_core.c | 2 ++ net/ipv4/netfilter/ipfwadm_core.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/net/ipv4/netfilter/ipchains_core.c b/net/ipv4/netfilter/ipchains_core.c index 1360222c25375..8fd8c1a5cefcd 100644 --- a/net/ipv4/netfilter/ipchains_core.c +++ b/net/ipv4/netfilter/ipchains_core.c @@ -1,3 +1,5 @@ +#warning ipchains is obsolete, and will be removed soon. + /* Minor modifications to fit on compatibility framework: Rusty.Russell@rustcorp.com.au */ diff --git a/net/ipv4/netfilter/ipfwadm_core.c b/net/ipv4/netfilter/ipfwadm_core.c index c38a6887722d8..b0f490f9d4065 100644 --- a/net/ipv4/netfilter/ipfwadm_core.c +++ b/net/ipv4/netfilter/ipfwadm_core.c @@ -1,3 +1,5 @@ +#warning ipfwadm is obsolete, and will be removed soon. + /* Minor modifications to fit on compatibility framework: Rusty.Russell@rustcorp.com.au */ -- 2.53.0