Re: [PATCH] ss: replace all zero characters in a unix name to '@'

2017-04-04 Thread Stephen Hemminger
On Sat, 1 Apr 2017 04:31:57 +0300 Andrei Vagin wrote: > From: Andrei Vagin > > A name of an abstract socket can contain zero characters. > Now we replace only the first character. If a name contains more > than one zero character, the ss tool shows only a part of the name: > u_str UNCONN0

[PATCH] ss: replace all zero characters in a unix name to '@'

2017-03-31 Thread Andrei Vagin
From: Andrei Vagin A name of an abstract socket can contain zero characters. Now we replace only the first character. If a name contains more than one zero character, the ss tool shows only a part of the name: u_str UNCONN00 @1931097 * 0 the output with