From: Theo Baschak Date: Sat, 2 Jan 2016 05:59:28 +0000 (-0600) Subject: Update asn.c - 32bit asn widths X-Git-Tag: v0.87~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F102%2Fhead;p=thirdparty%2Fmtr.git Update asn.c - 32bit asn widths Now that 32-bit ASNs are becoming more common the output of -z should take their width into consideration. --- diff --git a/asn.c b/asn.c index 33622ca..628f504 100644 --- a/asn.c +++ b/asn.c @@ -60,7 +60,7 @@ char fmtinfo[32]; extern int af; /* address family of remote target */ // items width: ASN, Route, Country, Registry, Allocated -int iiwidth[] = { 6, 19, 4, 8, 11}; // item len + space +int iiwidth[] = { 7, 19, 4, 8, 11}; // item len + space int iiwidth_len = sizeof(iiwidth)/sizeof((iiwidth)[0]); typedef char* items_t[ITEMSMAX + 1];