From: Jan Engelhardt Date: Mon, 6 Dec 2010 12:32:58 +0000 (+0100) Subject: libxt_owner: output numeric IDs when save is requested X-Git-Tag: v1.4.11~112^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3578faae096f191a44742777275a23b566d7566;p=thirdparty%2Fiptables.git libxt_owner: output numeric IDs when save is requested References: http://bugzilla.netfilter.org/show_bug.cgi?id=683 Signed-off-by: Jan Engelhardt --- 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[] = {