Jan Engelhardt wrote:
Make xt_connlimit use the new union nf_inet_addr in revision 1.
+struct xt_connlimit_match_info_v1 {
+ union nf_inet_addr mask;
+ u_int32_t limit;
+ u_int8_t invert;
+
+ struct xt_connlimit_data *data __attribute__((aligned(8)));
+};
+
No way I'm adding patches to intoduce new revisions for this,
the layout is exactly the same as before :) There must be
a better way, like an anonymous union:
struct xt_connlimit_info {
union {
union nf_inet_addr mask;
union {
__be32 v4_mask;
__be32 v6_mask[4];
}
};
...
};
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html