From: Mathieu Schroeter Date: Tue, 8 Aug 2023 21:42:58 +0000 (+0200) Subject: ss: print unix socket "ports" as unsigned int (inode) X-Git-Tag: v6.6.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12d0c929cf5f4266f745063696dd291cb6f06a4;p=thirdparty%2Fiproute2.git ss: print unix socket "ports" as unsigned int (inode) Signed-off-by: Mathieu Schroeter Signed-off-by: David Ahern --- diff --git a/misc/ss.c b/misc/ss.c index baa835149..13b2523f4 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -4073,9 +4073,9 @@ static void unix_stats_print(struct sockstat *s, struct filter *f) sock_state_print(s); sock_addr_print(s->name ?: "*", " ", - int_to_str(s->lport, port_name), NULL); + uint_to_str(s->lport, port_name), NULL); sock_addr_print(s->peer_name ?: "*", " ", - int_to_str(s->rport, port_name), NULL); + uint_to_str(s->rport, port_name), NULL); proc_ctx_print(s); }