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

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)