]> The Tcpdump Group git mirrors - tcpdump/commit
Clean up addrtostr6().
authorGuy Harris <[email protected]>
Thu, 16 Feb 2017 00:11:46 +0000 (16:11 -0800)
committerDenis Ovsienko <[email protected]>
Wed, 13 Sep 2017 11:25:44 +0000 (12:25 +0100)
commit761e1c46996b388e5ab00bf5e0fe2148be163c16
treecbf03a13de2ee8a2e49313b937be45c44ef65a02
parent8849db237e1a5518e49f295ddcaa60c3e0415a23
Clean up addrtostr6().

"Word" in "words" means "16-bit words", or "16-bit piece of an IPv6
address".  Declare it so.

Instead of going over the IPv6 address a byte at a time, process 2 bytes
at a time; it makes what the code's doing more obvious.

Should squelch Coverity CID 1324572.
addrtostr.c