diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-01-18 11:02:04 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-01-18 11:02:04 +0100 |
commit | 9c60365e043a430f74115bbfaf58ce0df7585f49 (patch) | |
tree | c07c27f054a68c154b1342e68f3727e32c3d5aa7 /extensions/libxt_quota.c | |
parent | 281439ba6b96b729ef1400a49ec53eda298bb9f8 (diff) |
libxt_quota: print negation when it has been selected
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_quota.c')
-rw-r--r-- | extensions/libxt_quota.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 64100cdc..75da2d6d 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -34,6 +34,9 @@ static void quota_save(const void *ip, const struct xt_entry_match *match) { const struct xt_quota_info *q = (const void *)match->data; + + if (q->flags & XT_QUOTA_INVERT) + printf("! "); printf("--quota %llu ", (unsigned long long) q->quota); } |