- Update pretty print of multipath routes to better handle timeout of first

probe

  Before:
   5  *
    freebsd (195.250.137.134)  19.086 ms  24.694 ms

  After:
   5  * freebsd (195.250.137.134)  19.086 ms  24.694 ms

Fixes:		bin/90098
Reported by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by:	andre
MFC after:	1 day
This commit is contained in:
Pav Lucistnik 2006-01-10 16:48:52 +00:00
parent 582fa422ec
commit 811c0f2ed0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154192

View File

@ -946,7 +946,7 @@ main(int argc, char **argv)
continue;
if (!gotlastaddr ||
from->sin_addr.s_addr != lastaddr) {
if (probe > 0) printf("\n ");
if (gotlastaddr) printf("\n ");
print(packet, cc, from);
lastaddr = from->sin_addr.s_addr;
++gotlastaddr;