]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/netfilter/ipt_CLUSTERIP.c
[NETFILTER]: Fix handling of ICMP packets (RELATED) in ipt_CLUSTERIP target.
[~andy/linux] / net / ipv4 / netfilter / ipt_CLUSTERIP.c
index dc4362b57cfa497746a100b4cd8ed5079e499b29..9cde8c61f525920aa36cdd422b93742f2574e02b 100644 (file)
@@ -339,7 +339,7 @@ target(struct sk_buff **pskb,
         * error messages (RELATED) and information requests (see below) */
        if ((*pskb)->nh.iph->protocol == IPPROTO_ICMP
            && (ctinfo == IP_CT_RELATED 
-               || ctinfo == IP_CT_IS_REPLY+IP_CT_IS_REPLY))
+               || ctinfo == IP_CT_RELATED+IP_CT_IS_REPLY))
                return IPT_CONTINUE;
 
        /* ip_conntrack_icmp guarantees us that we only have ICMP_ECHO,