Actions
Bug #144
closedsockstat display glitch with IPv6
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
('[patch]' removed from Subject line: issue tracker doesn't like it)
On 13-04-2006, Francis GUDIN <fgudin@nerim.net> wrote:
diff
r 5e7796ecf9a8 usr.bin/sockstat/sockstat.ca/usr.bin/sockstat/sockstat.c Fri Mar 24 07:57:30 2006 0000
--
++ b/usr.bin/sockstat/sockstat.c Thu Apr 13 21:41:02 2006 0200@ -506,8 +506,9
@ display(void)
case AF_INET:
case AF_INET6:
pos += printaddr(s->family, &s->laddr);
- while (pos < 58)
while (pos < 57)
pos = xprintf(" ");
xprintf(" ");
^^^^^^^^^^^
This |||||||||||||
should be pos += xprintf(" ");
for correctness...
Sorry,
Francis.
Actions