]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_quota: readd missing XTOPT_PUT request
authorJan Engelhardt <jengelh@medozas.de>
Fri, 20 May 2011 14:01:18 +0000 (16:01 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 20 May 2011 14:08:27 +0000 (16:08 +0200)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_quota.c

index 988f404f5f128cac4f24dfa752d7591bee04bd51..ff498da79daa9f3d0242454640924a789fbe340e 100644 (file)
@@ -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,
 };