[ebtables] bugfix in ebt_ip.c
Bart De Schuymer <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello David,
Please apply the bugfix below.
cheers,
Bart
--- linux-2.5.65/net/bridge/netfilter/ebt_ip.c.old Thu Mar 20 08:32:11 2003
+++ linux-2.5.65/net/bridge/netfilter/ebt_ip.c Thu Mar 20 08:35:17 2003
@@ -86,7 +86,7 @@
if (info->bitmask & ~EBT_IP_MASK || info->invflags & ~EBT_IP_MASK)
return -EINVAL;
if (info->bitmask & (EBT_IP_DPORT | EBT_IP_SPORT)) {
- if (!(info->bitmask & EBT_IPROTO))
+ if (info->bitmask & EBT_IPROTO)
return -EINVAL;
if (info->protocol != IPPROTO_TCP &&
info->protocol != IPPROTO_UDP)
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en