Just because AF_INET6 is defined, that doesn't mean "struct
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 18 Jul 2004 19:44:41 +0000 (19:44 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 18 Jul 2004 19:44:41 +0000 (19:44 +0000)
commit281d2b2be00fe2a11157a8fea1068daa282bbddd
tree7019b0211da9d7d5af18a25cff7305c479b7409f
parentb555d9c27578f9472edf0b7944a479c5623c1bc2
Just because AF_INET6 is defined, that doesn't mean "struct
sockaddr_in6" is defined - the former, but not the latter, is defined in
FreeBSD 3.4.  Just copy the appropriate number of bytes from the
"sa_data" field of a "struct sockaddr".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11413 f5534014-38df-0310-8fa8-9805f1628bb7
pcap-util.c