Fix build with WITHOUT_INET6.
Spotted by: bf MFC after: 1 week
This commit is contained in:
parent
e16406c7ba
commit
5d9d18f283
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267915
@ -1546,7 +1546,9 @@ addrconfig(struct addrinfo *pai)
|
||||
{
|
||||
struct ifaddrs *ifaddrs, *ifa;
|
||||
struct sockaddr_in *sin;
|
||||
#ifdef INET6
|
||||
struct sockaddr_in6 *sin6;
|
||||
#endif
|
||||
int seen_inet = 0, seen_inet6 = 0;
|
||||
|
||||
if (getifaddrs(&ifaddrs) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user