fix DEBUG compile in ipt_MASQUERADE
Subsystems (2)
PATCH 1/1 fix DEBUG compile in ipt_MASQUERADE
Hi Dave!
This is a bugfix to ipt_MASQUERADE.c to make it compile when debugging is switched on. The patch applies cleanly to 2.4.x and 2.6.x.
Please submit,
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
net/ipv4/netfilter/ipt_MASQUERADE.c +1 -1
@@ -32,7 +32,7 @@const struct ip_nat_multi_range *mr = targinfo;if (strcmp (tablename,"nat" ) !=0 ) { -DEBUGP ("masquerade_check: bad table `%s'.\n" , table); +DEBUGP ("masquerade_check: bad table `%s'.\n" , tablename);return 0 ; }if (targinfosize !=IPT_ALIGN (sizeof (*mr))) {
David S. Miller
AppliedQuoted 2 lines · On Mon, 29 Mar 2004 12:44:37 +0200 Harald Welte <[email protected]> wrote:
This is a bugfix to
ipt_MASQUERADE.cto make it compile when debugging is switched on. The patch applies cleanly to 2.4.x and 2.6.x.
Applied, thanks Harald.