]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_u32: --u32 option is required
authorJan Engelhardt <jengelh@medozas.de>
Mon, 23 May 2011 22:35:00 +0000 (00:35 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 24 May 2011 12:54:27 +0000 (14:54 +0200)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_u32.c

index 9198edca37028f54587888ba81b099b831f34e29..774d5eac9f9a6a72ea5b31f5eb54385de2226a90 100644 (file)
@@ -23,7 +23,8 @@ enum {
 };
 
 static const struct xt_option_entry u32_opts[] = {
-       {.name = "u32", .id = O_U32, .type = XTTYPE_STRING},
+       {.name = "u32", .id = O_U32, .type = XTTYPE_STRING,
+        .flags = XTOPT_MAND},
        XTOPT_TABLEEND,
 };