]> 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]>
Sun, 3 Sep 2017 23:08:58 +0000 (00:08 +0100)
commit6a46b2adfb2a46cf3eea71fe76617fea346d3602
tree223c74541c6d58f877aeb3664d72ef60c73bcbf5
parent99cfbd416429f8a1350dc467b3bb8841dd6180ca
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