On 9/29/05, Ian Jackson <[EMAIL PROTECTED]> wrote: > Olaf van der Spek writes ("Re: netstat IPv6 address truncation patch"): > > Did you see my related patch at > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=222324 > > > > It should also solve the truncation issue but I think it's more general. > > The thing you sent to the Debian BTS is an ed-format diff ! Looking
There are two patches. The second version is in another format. > at it it seems to just add a new command-line flag for not truncating > the address. That's wrong, IMO. --wide is enabled by default on interactive terminals Bernd prefered that way to avoid breaking any scripts. > I think my patch (with the obvious fix to the tcp/udp string) is far > better. It never truncates an IPv6 address when -n is requested, > which I think is necessary to preserve the behaviour that people > (including scripts) rely on. I haven't looked at it in detail but I guess it just uses wider fields in one row if necessary?