From 5f7bd74728981358e15b09a3ea9d9627b197f84c Mon Sep 17 00:00:00 2001 From: Phil Oester Date: Thu, 15 Aug 2013 16:24:11 -0700 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/nftables.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/nftables.h') 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, }; -- cgit v1.2.3