mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
15 lines
395 B
Plaintext
15 lines
395 B
Plaintext
--- sshconnect.c- Tue Feb 15 22:00:22 2000
|
|
+++ sshconnect.c Tue Feb 15 22:00:27 2000
|
|
@@ -1080,9 +1080,11 @@
|
|
case AF_INET:
|
|
local = (ntohl(((struct sockaddr_in *)hostaddr)->sin_addr.s_addr) >> 24) == IN_LOOPBACKNET;
|
|
break;
|
|
+#ifdef INET6
|
|
case AF_INET6:
|
|
local = IN6_IS_ADDR_LOOPBACK(&(((struct sockaddr_in6 *)hostaddr)->sin6_addr));
|
|
break;
|
|
+#endif
|
|
default:
|
|
local = 0;
|
|
break;
|