[NETFILTER]: Fix "iptables -D" rule deletion with ipt_CLUSTERIP target.
authorHarald Welte <laforge@netfilter.org>
Wed, 22 Jun 2005 19:38:33 +0000 (12:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2005 19:38:33 +0000 (12:38 -0700)
The patch just changes the order of structure members.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_ipv4/ipt_CLUSTERIP.h

index baa83e757156c66d9e34015f554512eadb84f1f1..d9bceedfb3dca67c9c8e3290480e7cb2d2a2b28e 100644 (file)
@@ -18,7 +18,6 @@ struct clusterip_config;
 struct ipt_clusterip_tgt_info {
 
        u_int32_t flags;
-       struct clusterip_config *config;
        
        /* only relevant for new ones */
        u_int8_t clustermac[6];
@@ -27,6 +26,8 @@ struct ipt_clusterip_tgt_info {
        u_int16_t local_nodes[CLUSTERIP_MAX_NODES];
        enum clusterip_hashmode hash_mode;
        u_int32_t hash_initval;
+
+       struct clusterip_config *config;
 };
 
 #endif /*_IPT_CLUSTERIP_H_target*/