summaryrefslogtreecommitdiffstats
path: root/include/nftables.h
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2013-08-15 16:24:11 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-22 13:48:00 +0200
commit5f7bd74728981358e15b09a3ea9d9627b197f84c (patch)
treefae2b6170b7f258c64694930b27bcb5d38366b67 /include/nftables.h
parentc03424bce3fab4885056995a83c0c3a68ef0d235 (diff)
nftables: add additional --numeric level
Personally, I like seeing ports and IPs numerically, but prefer protocols to be shown by name. As such, add a third --numeric level which will show protocols by number, splitting them out from ports. -n/--numeric When specified once, show network addresses numerically. When specified twice, also show Internet services, user IDs and group IDs numerically. When specified thrice, also show protocols numerically. Signed-off-by: Phil Oester <kernel@linuxace.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/nftables.h')
-rw-r--r--include/nftables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nftables.h b/include/nftables.h
index ec21d37f..12f3c492 100644
--- a/include/nftables.h
+++ b/include/nftables.h
@@ -8,6 +8,7 @@
enum numeric_level {
NUMERIC_NONE,
NUMERIC_ADDR,
+ NUMERIC_PORT,
NUMERIC_ALL,
};