summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_owner.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-06 13:32:58 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-06 13:32:58 +0100
commitf3578faae096f191a44742777275a23b566d7566 (patch)
tree664ab7c1c3854b4c261e804f965f75355506266e /extensions/libxt_owner.c
parentd4105ad56335058af4b0b1be1278e01f5c0bd4ac (diff)
libxt_owner: output numeric IDs when save is requested
References: http://bugzilla.netfilter.org/show_bug.cgi?id=683 Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_owner.c')
-rw-r--r--extensions/libxt_owner.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c
index 4015f137..867ed499 100644
--- a/extensions/libxt_owner.c
+++ b/extensions/libxt_owner.c
@@ -558,9 +558,9 @@ static void owner_mt_save(const void *ip, const struct xt_entry_match *match)
{
const struct xt_owner_match_info *info = (void *)match->data;
- owner_mt_print_item(info, "--socket-exists", XT_OWNER_SOCKET, false);
- owner_mt_print_item(info, "--uid-owner", XT_OWNER_UID, false);
- owner_mt_print_item(info, "--gid-owner", XT_OWNER_GID, false);
+ owner_mt_print_item(info, "--socket-exists", XT_OWNER_SOCKET, true);
+ owner_mt_print_item(info, "--uid-owner", XT_OWNER_UID, true);
+ owner_mt_print_item(info, "--gid-owner", XT_OWNER_GID, true);
}
static struct xtables_match owner_mt_reg[] = {