Skip to content

Commit

Permalink
[NETFILTER]: Fix "iptables -D" rule deletion with ipt_CLUSTERIP target.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harald Welte authored and David S. Miller committed Jun 22, 2005
1 parent 5d927eb commit dd7f0b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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*/

0 comments on commit dd7f0b8

Please sign in to comment.