RFC2553 just says that sockaddr_storage has to have initial fields
authorMartin Pool <mbp@samba.org>
Wed, 5 Dec 2001 13:25:29 +0000 (13:25 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 5 Dec 2001 13:25:29 +0000 (13:25 +0000)
commitd91c8c50d22f086a48c1cb4c275b0669278ef714
tree1e465dd77d35dc606b62aac7ee096f7bf6fff5c7
parente20a4f84d6f42b2a95471e424c27f940b958bc9f
RFC2553 just says that sockaddr_storage has to have initial fields
isomorphic to sa_family etc from a struct sockaddr, not what they're
called.  On some platforms they seem not to be called ss_family.
Rather than guess, we will try casting to a sockaddr and looking
through that -- I think this is what the RFC intends.
socket.c