Author: ume Date: Wed Nov 4 19:05:04 2015 New Revision: 290371 URL: https://svnweb.freebsd.org/changeset/base/290371
Log: Fix alignment of AF_LINK address. Modified: head/usr.bin/netstat/if.c Modified: head/usr.bin/netstat/if.c ============================================================================== --- head/usr.bin/netstat/if.c Wed Nov 4 16:59:12 2015 (r290370) +++ head/usr.bin/netstat/if.c Wed Nov 4 19:05:04 2015 (r290371) @@ -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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"