[NETFILTER]: Fix DHCP + MASQUERADE problem
authorPatrick McHardy <kaber@trash.net>
Tue, 13 Sep 2005 20:49:15 +0000 (13:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Sep 2005 20:49:15 +0000 (13:49 -0700)
In 2.6.13-rcX the MASQUERADE target was changed not to exclude local
packets for better source address consistency. This breaks DHCP clients
using UDP sockets when the DHCP requests are caught by a MASQUERADE rule
because the MASQUERADE target drops packets when no address is configured
on the outgoing interface. This patch makes it ignore packets with a
source address of 0.

Thanks to Rusty for this suggestion.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found