tcpdump mailing list archives
Re: v4/v6 packet length printing inconsistency
From: Guy Harris <gharris () sonic net>
Date: Mon, 30 Jun 2025 08:43:29 -0700
On Jun 30, 2025, at 7:46 AM, Denis Ovsienko <denis () ovsienko info> wrote:
1: https://github.com/the-tcpdump-group/tcpdump/issues/810
To quote a comment I added to that issue:
Personally, I'd prefer a single line of output for easy parsing.At one point, so did Apple, so they added a `-g` ("g" for "greppable") flag to remove that newline. For some unknown reason, Apple's change to print-ip.c wasn't preserved as they upgraded to newer versions of tcpdump.org tcpdump, so that flag is now a no-op, even though it's documented. Perhaps we should implement that flag.
...and, if we do, and we split the lines in verbose mode for IPv6, the -g/--ip-oneline flag would apply both to IPv4 and IPv6. _______________________________________________ tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- v4/v6 packet length printing inconsistency Gert Doering (Jun 30)
- Re: v4/v6 packet length printing inconsistency Denis Ovsienko (Jun 30)
- Re: v4/v6 packet length printing inconsistency Guy Harris (Jun 30)
- Re: v4/v6 packet length printing inconsistency Guy Harris (Jun 30)
- Re: v4/v6 packet length printing inconsistency Gert Doering (Jun 30)
- Re: v4/v6 packet length printing inconsistency Gert Doering (Jun 30)
- Re: v4/v6 packet length printing inconsistency Guy Harris (Jun 30)
- Re: v4/v6 packet length printing inconsistency Denis Ovsienko (Jun 30)
