Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 10:20:04 GMT
From:      Fedor Dikarev <fe@rambler-co.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/145194: Changed output of sockstat for AF_INET6
Message-ID:  <201003301020.o2UAK4fB091600@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/145194; it has been noted by GNATS.

From: Fedor Dikarev <fe@rambler-co.ru>
To: Maxim Konovalov <maxim.konovalov@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: bin/145194: Changed output of sockstat for AF_INET6
Date: Tue, 30 Mar 2010 13:38:51 +0400

 30.03.2010 13:33, Maxim Konovalov пишет:
 > This one looks more correct, doesn't it?
 > 
 > Index: sockstat.c
 > ===================================================================
 > --- sockstat.c	(revision 205577)
 > +++ sockstat.c	(working copy)
 > @@ -621,6 +621,8 @@
 >  		case AF_INET:
 >  		case AF_INET6:
 >  			pos += printaddr(s->family, &s->laddr);
 > +			if ((AF_INET6 == s->family) && (pos >= 58))
 > +				pos += xprintf(" ");
 >  			while (pos < 58)
 >  				pos += xprintf(" ");
 >  			pos += printaddr(s->family, &s->faddr);
 > 
 > %%%
 > 
 
 Yes, it'll be better -- I just hurry and made mistake through lack of
 attention.
 
 -- 
 Fedor Dikarev
 Rambler Internet Holding



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003301020.o2UAK4fB091600>