5865 snoop prints timestamps oddly

Review Request #419 — Created March 28, 2017 and submitted — Latest diff uploaded

yuripv
illumos-gate
master
5865
8948801...
general

Fix absolute timestamps printing for -t a.

One line fix, everything else is to please cstyle.

snoop -t a

Using device igb0 (promiscuous mode)
07:01:12.62654  192.168.1.4 -> 192.168.1.2  TCP D=59523 S=22 Push Ack=3716905950 Seq=2643774578 Len=128 Win=64240
07:01:12.62667  192.168.1.2 -> 192.168.1.4  TCP D=22 S=59523 Ack=2643774706 Seq=3716905950 Len=0 Win=4287
07:01:13.62378  192.168.1.4 -> 192.168.1.2  TCP D=59523 S=22 Push Ack=3716905950 Seq=2643774706 Len=544 Win=64240
07:01:13.62404  192.168.1.4 -> 192.168.1.2  TCP D=59523 S=22 Push Ack=3716905950 Seq=2643775250 Len=208 Win=64240
07:01:13.62424  192.168.1.2 -> 192.168.1.4  TCP D=22 S=59523 Ack=2643775458 Seq=3716905950 Len=0 Win=4284
07:01:14.13654 192.168.1.31 -> 224.0.1.1    IGMP v2 membership report
07:01:14.28726  192.168.1.2 -> (broadcast)  ARP C Who is 192.168.1.100, 192.168.1.100 ?
Loading...