提交 ba12b130 编写于 作者: J Jan Engelhardt

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: NJan Engelhardt <jengelh@medozas.de>
上级 cc4fc022
......@@ -18,7 +18,7 @@ struct xt_connlimit_info {
};
#endif
};
unsigned int limit, inverse;
unsigned int limit;
union {
/* revision 0 */
unsigned int inverse;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册