]> git.proxmox.com Git - mirror_iproute2.git/commit
ip: add a new parameter -Numeric
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 12 Jun 2019 09:21:15 +0000 (17:21 +0800)
committerDavid Ahern <dsahern@gmail.com>
Tue, 18 Jun 2019 15:37:47 +0000 (08:37 -0700)
commitca697cee4cfcb8b0f82b328a8b51ca94ffad0103
tree9763e982f74e7438f49738604dae685f79ab51cf
parente92d221022b56ad78a831d360c6db8faaec10d30
ip: add a new parameter -Numeric

Add a new parameter '-Numeric' to show the number of protocol, scope,
dsfield, etc directly instead of converting it to human readable name.
Do the same on tc and ss.

This patch is based on David Ahern's previous patch.

Suggested-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
include/utils.h
ip/ip.c
ip/rtm_map.c
lib/inet_proto.c
lib/ll_proto.c
lib/ll_types.c
lib/rt_names.c
man/man8/ip.8
man/man8/tc.8
misc/ss.c
tc/tc.c