tcpdump mailing list archives

[PATCH] tcpv6: removal of duplicate code


From: Gerrit Renker <gerrit () erg abdn ac uk>
Date: Mon, 30 Oct 2006 14:08:45 +0000

This is an optional patch which removes duplicated code 
from tcp6_cksum: comparison shows that the code of in_cksum
re-appears in that function.

In addition, it fixes a typo in printing invalid checksums:
        * previously: "cksum xDEAD (incorrect (-> xBEEF)"
        * now:        "cksum xDEAD (incorrect -> xBEEF)"


Regards
Gerrit Renker
---
 print-tcp.c |   20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

Attachment: tcpdump-tcp6-optional.patch
Description:

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: