summaryrefslogtreecommitdiff
path: root/include/linux/netfilter
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-01-20 14:01:12 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-01-20 14:01:12 +0100
commitba12b130a65840005770135a69199cb9adaf8c8f (patch)
tree14e0e57e8700cd3773496456d37fba157c29211d /include/linux/netfilter
parentcc4fc022571376412986e27e08b0765e9cb2aafb (diff)
netfilter: xtables: remove duplicate member
Accidentally missed removing the old out-of-union "inverse" member, which caused the struct size to change which then gives size mismatch warnings when using an old iptables. It is interesting to see that gcc did not warn about this before. (Filed http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47376 ) Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r--include/linux/netfilter/xt_connlimit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/xt_connlimit.h b/include/linux/netfilter/xt_connlimit.h
index 8884efc605c7..ab1d3b57fff7 100644
--- a/include/linux/netfilter/xt_connlimit.h
+++ b/include/linux/netfilter/xt_connlimit.h
@@ -18,7 +18,7 @@ struct xt_connlimit_info {
};
#endif
};
- unsigned int limit, inverse;
+ unsigned int limit;
union {
/* revision 0 */
unsigned int inverse;