]> The Tcpdump Group git mirrors - tcpdump/commit
fix printing of unknown TCP options
authorDenis Ovsienko <[email protected]>
Sat, 26 Oct 2013 08:21:04 +0000 (12:21 +0400)
committerDenis Ovsienko <[email protected]>
Sat, 26 Oct 2013 08:21:04 +0000 (12:21 +0400)
commit58e0619cac3ee6427827804d2c50b8efd8061bfb
treed022120a9d5abd7be16e6efe3d66aa3bdef4afe6
parentc9569fd10ac8b0a9abde3bfd908db98625d11592
fix printing of unknown TCP options

TCP options decoder would mix decimal and hexadecimal digits when
printing an unknown option. For example, the pre-TFO revision would
print TFO as follows:
[Unknown Option 254f989090909090000]

Refine output format to print the same data as follows:
[unknown-254 0xf989090909090000]
print-tcp.c