Ethereal-cvs: [Ethereal-cvs] r11420 - trunk: trunk/pcap-util.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Sun, 18 Jul 2004 18:07:05 -0500 (CDT)
Author: guy
Date: Sun Jul 18 18:07:04 2004
New Revision: 11420

Modified:
   trunk/pcap-util.c
Log:
"struct sockaddr_in"s and "struct sockaddr_in6"s are sufficient to serve
as transport endpoint addresses, so the "sa_data" field includes port
numbers.  Revert the IPv4 code; we'll fix the IPv6 code later (we'll
have to check whether "struct sockaddr_in6" is defined, and not support
IPv6 addresses if it's not, even if AF_INET6 is defined).