summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-05-20 16:01:18 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-05-20 16:08:27 +0200
commit67db7615580f5c3490a39310f5adcb4e767ea6a8 (patch)
treef21b8eaaf4bbc3b4eeb6c231479c3247882babd5
parentae06c6dc6d68d11ed15d4c6c47b7b7a709d3c9cb (diff)
libxt_quota: readd missing XTOPT_PUT request
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--extensions/libxt_quota.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c
index 988f404f..ff498da7 100644
--- a/extensions/libxt_quota.c
+++ b/extensions/libxt_quota.c
@@ -13,7 +13,8 @@ enum {
static const struct xt_option_entry quota_opts[] = {
{.name = "quota", .id = O_QUOTA, .type = XTTYPE_UINT64,
- .flags = XTOPT_MAND | XTOPT_INVERT},
+ .flags = XTOPT_MAND | XTOPT_INVERT | XTOPT_PUT,
+ XTOPT_POINTER(struct xt_quota_info, quota)},
XTOPT_TABLEEND,
};