]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_owner: restore inversion support
authorJan Engelhardt <jengelh@medozas.de>
Sun, 29 May 2011 14:43:25 +0000 (16:43 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 29 May 2011 14:43:25 +0000 (16:43 +0200)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_owner.c

index b60f90716fe8e3e433c9bc15469b0d078d8b23da..d2fdfa91548efb7ee169c126b6e788ef42dbeca0 100644 (file)
@@ -125,8 +125,10 @@ static const struct xt_option_entry owner_mt6_opts_v0[] = {
 #undef s
 
 static const struct xt_option_entry owner_mt_opts[] = {
-       {.name = "uid-owner", .id = O_USER, .type = XTTYPE_STRING},
-       {.name = "gid-owner", .id = O_GROUP, .type = XTTYPE_STRING},
+       {.name = "uid-owner", .id = O_USER, .type = XTTYPE_STRING,
+        .flags = XTOPT_INVERT},
+       {.name = "gid-owner", .id = O_GROUP, .type = XTTYPE_STRING,
+        .flags = XTOPT_INVERT},
        {.name = "socket-exists", .id = O_SOCK_EXISTS, .type = XTTYPE_NONE},
        XTOPT_TABLEEND,
 };