]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - misc/ss.c
ss: Change resolve_services to numeric
[mirror_iproute2.git] / misc / ss.c
index e1c665a51daaef3c6d0e6ad7b641dcb1d64add1e..0927b1929fe1ee021a1f61d14725943946d944d2 100644 (file)
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -2361,7 +2361,7 @@ static int proc_inet_split_line(char *line, char **loc, char **rem, char **data)
 
 static char *sprint_bw(char *buf, double bw)
 {
-       if (!resolve_services)
+       if (numeric)
                sprintf(buf, "%.0f", bw);
        else if (bw > 1000000.)
                sprintf(buf, "%.1fM", bw / 1000000.);