summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-18 05:54:38 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-18 05:54:38 +0000
commit8b127cfeb8ae891e3242a84ec42bf7b24486e146 (patch)
treeb20dc075b0b4a8dc319a32af13bd3e96f2cdbc66 /sys/netinet
parent95e9959eee6bffa94cb3c59304353a1fc79ee7d0 (diff)
Print++
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ipsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index dbd61455750..b711ce4c2c2 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.91 2000/06/06 04:49:29 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.92 2000/06/18 05:54:37 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -1643,9 +1643,9 @@ ipsp_address(union sockaddr_union sa)
case AF_INET:
return inet_ntoa4(sa.sin.sin_addr);
-#if 0 /*INET6*/
+#if INET6
case AF_INET6:
- return inet_ntoa6(sa.sin6.sin6_addr);
+ return inet6_ntoa4(sa.sin6.sin6_addr);
#endif /* INET6 */
default: