From: Jan Engelhardt Date: Sun, 29 May 2011 14:43:25 +0000 (+0200) Subject: libxt_owner: restore inversion support X-Git-Tag: v1.4.11.1~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=874b76221f74a00520a712ef89b5254a1ed896f8;p=thirdparty%2Fiptables.git libxt_owner: restore inversion support Signed-off-by: Jan Engelhardt --- diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c index b60f9071..d2fdfa91 100644 --- a/extensions/libxt_owner.c +++ b/extensions/libxt_owner.c @@ -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, };