bin/145194: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Tue Mar 30 10:00:19 UTC 2010


The following reply was made to PR bin/145194; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/145194: commit references a PR
Date: Tue, 30 Mar 2010 09:58:35 +0000 (UTC)

 Author: maxim
 Date: Tue Mar 30 09:58:21 2010
 New Revision: 205874
 URL: http://svn.freebsd.org/changeset/base/205874
 
 Log:
   o Make sockstat -6 output more readable for long ipv6
   addresses (most of them apart from ::1): put a whitespace
   between local and remote address:port pairs.
   
   PR:		bin/145194
   Submitted by:	Fedor Dikarev
   MFC after:	2 weeks
 
 Modified:
   head/usr.bin/sockstat/sockstat.c
 
 Modified: head/usr.bin/sockstat/sockstat.c
 ==============================================================================
 --- head/usr.bin/sockstat/sockstat.c	Tue Mar 30 09:22:33 2010	(r205873)
 +++ head/usr.bin/sockstat/sockstat.c	Tue Mar 30 09:58:21 2010	(r205874)
 @@ -621,6 +621,8 @@ display(void)
  		case AF_INET:
  		case AF_INET6:
  			pos += printaddr(s->family, &s->laddr);
 +			if (s->family == AF_INET6 && pos >= 58)
 +				pos += xprintf(" ");
  			while (pos < 58)
  				pos += xprintf(" ");
  			pos += printaddr(s->family, &s->faddr);
 _______________________________________________
 svn-src-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-bugs mailing list