diff options
author | Patrick McHardy <kaber@trash.net> | 2010-07-15 18:15:03 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-15 18:15:03 +0200 |
commit | b14f160c11196aeb99000611207bd353c7ae2cb9 (patch) | |
tree | 250e1e5386a24e41f2d1cf83089876549c9135d2 /extensions/libxt_quota.c | |
parent | 0bcda81f5f6d121084131fb944e2940f614cc98c (diff) | |
parent | b4fa7222923bc10476b8753f358e871f461eb2db (diff) |
Merge branch 'master' into iptables-next
Diffstat (limited to 'extensions/libxt_quota.c')
-rw-r--r-- | extensions/libxt_quota.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 69d27460..ac7c686e 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -19,7 +19,7 @@ static const struct option quota_opts[] = { static void quota_help(void) { printf("quota match options:\n" - " --quota quota quota (bytes)\n"); + "[!] --quota quota quota (bytes)\n"); } static void @@ -65,6 +65,10 @@ quota_parse(int c, char **argv, int invert, unsigned int *flags, if (!parse_quota(optarg, &info->quota)) xtables_error(PARAMETER_PROBLEM, "bad quota: '%s'", optarg); + + if (invert) + info->flags |= XT_QUOTA_INVERT; + break; default: |