From 2fd72a0807a8fab992b6a83148d05e6909cbfeb3 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 16 Jun 2017 11:50:16 -0600 Subject: [PATCH] helpful comment --- pcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcat.c b/pcat.c index 050406e..1ea6dcd 100644 --- a/pcat.c +++ b/pcat.c @@ -178,7 +178,7 @@ print_frame(struct pcap_file *p, struct pcap_pkthdr *hdr, char const *frame) struct stream streambuf; struct stream *s = &streambuf; - sinit(s, frame, hdr->caplen, ENDIAN_NETWORK); + sinit(s, frame, hdr->caplen, ENDIAN_NETWORK); // pcap.c always outputs network byte order printf("%u.%u ", hdr->ts.tv_sec, hdr->ts.tv_usec); switch (p->linktype) { case LINKTYPE_ETHERNET: