]> The Tcpdump Group git mirrors - tcpdump/commit
Changes from Kevin Steves to print, in an RST segment, the payload as
authorguy <guy>
Sat, 29 Jul 2000 09:06:23 +0000 (09:06 +0000)
committerguy <guy>
Sat, 29 Jul 2000 09:06:23 +0000 (09:06 +0000)
commit674fea664da96caf629c5bdda52a9257d9c7ac91
tree44de516be78f7a114668e180fad5c6b30f121af2
parent8fda1c6d19175556b031186da490b3bf063d4b4d
Changes from Kevin Steves to print, in an RST segment, the payload as
text, as per RFC 1122:

4.2.2.12  RST Segment: RFC-793 Section 3.4

   A TCP SHOULD allow a received RST segment to include data.

   DISCUSSION
It has been suggested that a RST segment could contain
ASCII text that encoded and explained the cause of the
RST.  No standard has yet been established for such
data.

as some TCP implementations (e.g., HP-UX 11.0) do that.

Clean up the code that prints the payload of non-RST segments.
print-tcp.c