Modify CLUSTERIP layout
PATCH 1/2 Modify CLUSTERIP layout
Hi,
This modifies the ipt_clusterip_tgt_info layout in order to fix rule deletion, it's the easier way to fix this problem. Since CLUSTERIP is marked as experimental and after some discussing we decided to forget about backward compatibility this time.
Signed-off-by Pablo Neira Ayuso <[email protected]>
--
Pablo
===== include/linux/netfilter_ipv4/ipt_CLUSTERIP.h 1.1 vs edited =====
include/linux/netfilter_ipv4/ipt_CLUSTERIP.h +1 -1
@@ -18,7 +18,6 @@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,7 @@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*/