mirror of git://anongit.mindrot.org/openssh.git
avoid AF_LINK on platforms that don't define it
This commit is contained in:
parent
919bc3d3b7
commit
c6fad2c3d1
|
@ -609,9 +609,11 @@ check_match_ifaddrs(const char *addrlist)
|
|||
case AF_INET6:
|
||||
salen = sizeof(struct sockaddr_in6);
|
||||
break;
|
||||
#ifdef AF_LINK
|
||||
case AF_LINK:
|
||||
/* ignore */
|
||||
continue;
|
||||
#endif /* AF_LINK */
|
||||
default:
|
||||
debug2_f("interface %s: unsupported address family %d",
|
||||
ifa->ifa_name, ifa->ifa_addr->sa_family);
|
||||
|
|
Loading…
Reference in New Issue