]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_owner: output numeric IDs when save is requested
authorJan Engelhardt <jengelh@medozas.de>
Mon, 6 Dec 2010 12:32:58 +0000 (13:32 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 6 Dec 2010 12:32:58 +0000 (13:32 +0100)
References: http://bugzilla.netfilter.org/show_bug.cgi?id=683
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_owner.c

index 4015f13721c23da507c5bdc26d542b88b82fc7eb..867ed499ebfec8aa09c98c1151a2dc5371f25fd1 100644 (file)
@@ -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[] = {