The inet_pton() man page says we need to pass in a pointer to a
authorWayne Davison <wayned@samba.org>
Sat, 11 Jan 2003 02:05:56 +0000 (02:05 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 11 Jan 2003 02:05:56 +0000 (02:05 +0000)
commitaaf375d0a5bc139efb3998a9af4865aab980ed26
tree5422cbc915583a222200e8baf6a930d69766ca02
parent9680f811f6b7763c594ab6f4c4b139df456e2620
The inet_pton() man page says we need to pass in a pointer to a
struct in_addr, which means passing &sin.sin_addr instead of
&sin.sin_addr.s_addr.  Also changed the AF_INET6 version to pass
&sin6.sin6_addr.  Hopefully this will fix UNICOS and not break
anyone else.
clientname.c