diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2019-06-12 17:21:15 +0800 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2019-06-18 08:37:47 -0700 |
commit | ca697cee4cfcb8b0f82b328a8b51ca94ffad0103 (patch) | |
tree | 9763e982f74e7438f49738604dae685f79ab51cf /include/utils.h | |
parent | e92d221022b56ad78a831d360c6db8faaec10d30 (diff) |
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>
Diffstat (limited to 'include/utils.h')
-rw-r--r-- | include/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h index 8a9c3020..0f57ee97 100644 --- a/include/utils.h +++ b/include/utils.h @@ -34,6 +34,7 @@ extern int timestamp_short; extern const char * _SL_; extern int max_flush_loops; extern int batch_mode; +extern int numeric; extern bool do_all; #ifndef CONFDIR |