forked from jengelh/iptables
Jan Engelhardt
4eb6a28a22
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=16
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
parent 172e9b15271c276aa1485b4a2fb63928a65b13ae (v1.4.11)
|
|
commit 874b76221f74a00520a712ef89b5254a1ed896f8
|
|
Author: Jan Engelhardt <jengelh@medozas.de>
|
|
Date: Sun May 29 16:43:25 2011 +0200
|
|
|
|
libxt_owner: restore inversion support
|
|
|
|
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
|
|
---
|
|
extensions/libxt_owner.c | 6 ++++--
|
|
1 files changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c
|
|
index b60f907..d2fdfa9 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,
|
|
};
|
|
--
|
|
# Created with git-export-patch
|