diff options
author | JP Abgrall <jpa@google.com> | 2011-06-29 18:24:01 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2011-06-29 18:24:01 -0700 |
commit | 92556c7047257284cc8659c769b800219cff47a5 (patch) | |
tree | 95f4d1cf62fbd08cf72ec20694cd09f206f24ffe | |
parent | 2c841b56d9041c621b85314ba4faa4e824ca81be (diff) | |
download | platform_external_iptables-92556c7047257284cc8659c769b800219cff47a5.tar.gz platform_external_iptables-92556c7047257284cc8659c769b800219cff47a5.tar.bz2 platform_external_iptables-92556c7047257284cc8659c769b800219cff47a5.zip |
quota2: fix inversion handling for --quota
Change-Id: I55f21aaab3c90955b4ce61687651ada60f400037
Signed-off-by: JP Abgrall <jpa@google.com>
-rw-r--r-- | extensions/libxt_quota2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/libxt_quota2.c b/extensions/libxt_quota2.c index a6926273..d004ccad 100644 --- a/extensions/libxt_quota2.c +++ b/extensions/libxt_quota2.c @@ -75,6 +75,8 @@ static void quota_mt2_parse(struct xt_option_call *cb) info->flags |= XT_QUOTA_PACKET; break; case O_QUOTA: + if (cb->invert) + info->flags |= XT_QUOTA_INVERT; break; } } |