diff options
author | Jan Engelhardt | 2007-12-18 07:44:47 +0100 |
---|---|---|
committer | David S. Miller | 2008-01-28 23:59:09 +0100 |
commit | 22c2d8bca212a655c120fd6617328ffa3480afad (patch) | |
tree | c0c61cf5a2bbc8d6371255389231dfa702c786fe /include/linux/netfilter/xt_connlimit.h | |
parent | [NETFILTER]: Parenthesize macro parameters (diff) | |
download | kernel-qcow2-linux-22c2d8bca212a655c120fd6617328ffa3480afad.tar.gz kernel-qcow2-linux-22c2d8bca212a655c120fd6617328ffa3480afad.tar.xz kernel-qcow2-linux-22c2d8bca212a655c120fd6617328ffa3480afad.zip |
[NETFILTER]: xt_connlimit: use the new union nf_inet_addr
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter/xt_connlimit.h')
-rw-r--r-- | include/linux/netfilter/xt_connlimit.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/netfilter/xt_connlimit.h b/include/linux/netfilter/xt_connlimit.h index 37e933c9987d..315d2dce9da6 100644 --- a/include/linux/netfilter/xt_connlimit.h +++ b/include/linux/netfilter/xt_connlimit.h @@ -5,8 +5,13 @@ struct xt_connlimit_data; struct xt_connlimit_info { union { - __be32 v4_mask; - __be32 v6_mask[4]; + union nf_inet_addr mask; +#ifndef __KERNEL__ + union { + __be32 v4_mask; + __be32 v6_mask[4]; + }; +#endif }; unsigned int limit, inverse; |