NAT: remove unused structure member
PATCH 1/1 NAT: remove unused structure member
Hi Dave!
The following patch (courtesy of Patrick McHardy) removes an unused structure member... quite embarassing ;)
Please apply, thanks.
Signature · 3 lines
- Harald Welte <[email protected]> http://www.gnumonks.org/ ============================================================================ Programming is like sex: One mistake and you have to support it your lifetime
===== include/linux/netfilter_ipv4/ip_nat.h 1.4 vs edited =====
include/linux/netfilter_ipv4/ip_nat.h +0 -3
@@ -105,9 +105,6 @@/* Manipulations to be done on this conntrack. */ struct ip_nat_info_manip manips[IP_NAT_MAX_MANIPS ]; -/* The mapping type which created us (NULL for null mapping). */ -const struct ip_nat_mapping_type *mtype; -struct ip_nat_hash bysource, byipsproto;/* Helper (NULL if none). */
David S. Miller
AppliedQuoted 2 lines · On Fri, 20 Feb 2004 21:06:26 +0100 Harald Welte <[email protected]> wrote:
The following patch (courtesy of Patrick McHardy) removes an unused structure member... quite embarassing ;)
Applied to both 2.4.x and 2.6.x, thanks.