Skip to contentSkip to conversation

remove __NO_VERSION__ from netfilter/iptables

PATCH New Harald Welte 1 participant 1 message Sep 7, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove __NO_VERSION__ from netfilter/iptables

Hi Dave!

Please apply the following patch, since __NO_VERSION is bogus since 2.3.x times according to Keith Owens + Rusty.

Thanks.

net/ipv4/netfilter/ip_conntrack_core.c +0 -1
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .5467-linux-2.5.33/net/ipv4/netfilter/ip_conntrack_core.c .5467-linux-2.5.33.updated/net/ipv4/netfilter/ip_conntrack_core.c
@@ -14,7 +14,6 @@
  * */
 
 #ifdef MODULE
-#define __NO_VERSION__
 #endif
 #include <linux/version.h>
 #include <linux/config.h>
net/ipv4/netfilter/ip_conntrack_proto_tcp.c +0 -1
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .5467-linux-2.5.33/net/ipv4/netfilter/ip_conntrack_proto_tcp.c .5467-linux-2.5.33.updated/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
@@ -1,4 +1,3 @@
-#define __NO_VERSION__
 #include <linux/types.h>
 #include <linux/sched.h>
 #include <linux/timer.h>
net/ipv4/netfilter/ip_nat_core.c +0 -1
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .5467-linux-2.5.33/net/ipv4/netfilter/ip_nat_core.c .5467-linux-2.5.33.updated/net/ipv4/netfilter/ip_nat_core.c
@@ -3,7 +3,6 @@
 /* (c) 1999 Paul `Rusty' Russell.  Licenced under the GNU General
    Public Licence. */
 #ifdef MODULE
-#define __NO_VERSION__
 #endif
 #include <linux/version.h>
 #include <linux/module.h>
net/ipv4/netfilter/ip_nat_rule.c +0 -1
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .5467-linux-2.5.33/net/ipv4/netfilter/ip_nat_rule.c .5467-linux-2.5.33.updated/net/ipv4/netfilter/ip_nat_rule.c
@@ -1,5 +1,4 @@
 /* Everything about the rules for NAT. */
-#define __NO_VERSION__
 #include <linux/types.h>
 #include <linux/ip.h>
 #include <linux/netfilter.h>
Signature · 5 lines
Live long and prosper
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)