Fixed alignment of multicast addresses when printing that got
broken in previous revision.
This commit is contained in:
parent
f587c6bf9f
commit
bce2e7c8bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128152
@ -445,7 +445,8 @@ intpr(int _interval, u_long ifnetaddr, void (*pfunc)(char *))
|
||||
break;
|
||||
#ifdef INET6
|
||||
case AF_INET6:
|
||||
printf("%23s %-19.19s(refs: %d)\n", "",
|
||||
printf("%*s %-19.19s(refs: %d)\n",
|
||||
Wflag ? 27 : 25, "",
|
||||
inet_ntop(AF_INET6,
|
||||
&msa.in6.sin6_addr,
|
||||
ntop_buf,
|
||||
@ -465,7 +466,8 @@ intpr(int _interval, u_long ifnetaddr, void (*pfunc)(char *))
|
||||
break;
|
||||
}
|
||||
if (fmt)
|
||||
printf("%23s %s\n", "", fmt);
|
||||
printf("%*s %s\n",
|
||||
Wflag ? 27 : 25, "", fmt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user