patch-2.3.99-pre8 linux/net/ipv4/netfilter/ipt_REJECT.c
Next file: linux/net/ipv4/netfilter/ipt_owner.c
Previous file: linux/net/ipv4/netfilter/ip_tables.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 12 11:45:26 2000
- Orig file:
v2.3.99-pre7/linux/net/ipv4/netfilter/ipt_REJECT.c
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.3.99-pre7/linux/net/ipv4/netfilter/ipt_REJECT.c linux/net/ipv4/netfilter/ipt_REJECT.c
@@ -73,7 +73,7 @@
{
const struct ipt_icmp *icmpinfo = (const struct ipt_icmp *)m->data;
- if (strcmp(m->u.match->name, "icmp") == 0
+ if (strcmp(m->u.kernel.match->name, "icmp") == 0
&& icmpinfo->type == ICMP_ECHO
&& !(icmpinfo->invflags & IPT_ICMP_INV))
return 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)