]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: default to numeric UID and GID listing
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 Oct 2018 11:49:00 +0000 (12:49 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 Oct 2018 14:07:35 +0000 (15:07 +0100)
commit1a5153117784c267ceb81c048dd5e9b9c4309fbb
tree23b5b83b5a8e76c4ed1463e8f93980564f2c3ebd
parent48636e1fe6f6d3141de735f9faf4c359938b837c
src: default to numeric UID and GID listing

Like iptables-save, print UID and GID as numeric values by default.

Add a new option `-u' to print the UID and GID names as defined by
/etc/passwd and /etc/group.

Note that -n is ignored after this patch, since default are numeric
printing for UID and GID.

Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/libnftables.adoc
doc/nft.txt
include/nftables.h
include/nftables/libnftables.h
src/json.c
src/main.c
src/meta.c