On May 24, 2017, at 10:36 AM, Michael Richardson <m...@sandelman.ca> wrote:
> Guy Harris <g...@alum.mit.edu> wrote: > >> Note that macOS's tcpdump has a -g flag ("g" for "greppable", more >> greppable output being the purpose of the flag), which puts the IPv4 >> input back on one line: > > How can we move to this format? To make that the default and only format, we'd just have to turn ND_PRINT((ndo, ")\n ")); to ND_PRINT((ndo, ") ")); in ip_print(). To add support for the -g flag, we'd just make that conditional at run time, with a gflag field in the netdissect_options field. _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers