[Bug 297448] sockstat: IPv6 addresses are silently truncated in the default output

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297448

--- Comment #4 from Michael Osipov <[email protected]> ---
(In reply to Rafael Grether from comment #3)

> Ellipsis is better than silent truncation, but for an IPv6 addresses it still  hide the most useful part, and I don't think the default output should ever lose data.

It is not just IPv6, it is UDS too and I agree with you, it should not lose
since it is not mentioned in the manpage at all. So ellipsis is a band-aid
here.

> Patch attached. Or did you prefer I submit a review on phabricator ?
> If so, please let me know.

Let's do two-phase change:

* Raise a phabricator review with your patch and 21 => 23
* After that raise a review to propose -w as default and noop.

Your patch works for me, this should be MFC'd after approval. Please note that
I am not a src committer and cannot formally consent your patch. Someone else
has to do so.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.