Fix alignment of AF_LINK address.

This commit is contained in:
ume 2015-11-04 19:05:04 +00:00
parent bad3c35c8d
commit 6b8c1fe243

View File

@ -391,8 +391,7 @@ intpr(void (*pfunc)(char *), int af)
sdl->sdl_slen == 0)
xo_emit("{P: }");
else
xo_emit("{:address/%*s}",
32 - 3 * sdl->sdl_alen,
xo_emit("{:address/%-17.17s} ",
routename(ifa->ifa_addr, 1));
link = true;
break;