Pretty print multipath routes.
Before (backslash in c syntax meaning): 6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms \ p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms 7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms \ xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms \ xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms After: 6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms 7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms Submitted by: Richard A Steenbergen <ras at e-gerbil.net> MFC after: 3 days
This commit is contained in:
parent
e3ea67a077
commit
9e24bd90fe
@ -946,6 +946,7 @@ main(int argc, char **argv)
|
||||
continue;
|
||||
if (!gotlastaddr ||
|
||||
from->sin_addr.s_addr != lastaddr) {
|
||||
if (probe > 0) printf("\n ");
|
||||
print(packet, cc, from);
|
||||
lastaddr = from->sin_addr.s_addr;
|
||||
++gotlastaddr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user