patch-1.3.23 linux/net/ipv4/ip.c
Next file: linux/Makefile
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Sep 2 11:45:37 1995
- Orig file:
v1.3.22/linux/net/ipv4/ip.c
- Orig date:
Sun Sep 3 12:27:05 1995
diff -u --recursive --new-file v1.3.22/linux/net/ipv4/ip.c linux/net/ipv4/ip.c
@@ -1819,7 +1819,7 @@
iph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
#ifdef CONFIG_IP_FIREWALL
- if(ip_fw_chk(iph, dev, ip_fw_blk_chain, ip_fw_blk_policy, 0) != 1)
+ if(ip_fw_chk(iph, dev, ip_fw_blk_chain, ip_fw_blk_policy, 0) < 1)
/* just don't send this packet */
return;
#endif
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this