mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 11:34:57 +02:00
modules: strip unneeded XT_ALIGN from matchsize/targetsize
The x_tables kernel part already does calculate it.
This commit is contained in:
@@ -200,7 +200,7 @@ static struct xt_match condition_mt_reg[] __read_mostly = {
|
||||
.name = "condition",
|
||||
.revision = 1,
|
||||
.family = NFPROTO_IPV4,
|
||||
.matchsize = XT_ALIGN(sizeof(struct xt_condition_mtinfo)),
|
||||
.matchsize = sizeof(struct xt_condition_mtinfo),
|
||||
.match = condition_mt,
|
||||
.checkentry = condition_mt_check,
|
||||
.destroy = condition_mt_destroy,
|
||||
@@ -210,7 +210,7 @@ static struct xt_match condition_mt_reg[] __read_mostly = {
|
||||
.name = "condition",
|
||||
.revision = 1,
|
||||
.family = NFPROTO_IPV6,
|
||||
.matchsize = XT_ALIGN(sizeof(struct xt_condition_mtinfo)),
|
||||
.matchsize = sizeof(struct xt_condition_mtinfo),
|
||||
.match = condition_mt,
|
||||
.checkentry = condition_mt_check,
|
||||
.destroy = condition_mt_destroy,
|
||||
|
Reference in New Issue
Block a user