Split out code to compare addrinfo and sockaddr into it's own
authorMartin Pool <mbp@samba.org>
Fri, 25 Jan 2002 02:29:53 +0000 (02:29 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 25 Jan 2002 02:29:53 +0000 (02:29 +0000)
commit974f27e7e9844f483b5eb74c2f09e37f3f294462
treea5bf89ea8cdd0668a645136c9ebc6f21bdaac92f
parentaf32f69eb09f4aff718879ba8e53debd7325ddd3
Split out code to compare addrinfo and sockaddr into it's own
function.  The comparison cannot be done just byte-by-byte, because
different parts of the sockaddr will be meaningful depending on the
protocol.  It looks like on some systems the library sets the unused
parts to 0, but this is not reliable.  IPv6 not implemented yet.
clientname.c