summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/util.c')
-rw-r--r--sbin/isakmpd/util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/util.c b/sbin/isakmpd/util.c
index 33b6c17a0b0..3c95c74e218 100644
--- a/sbin/isakmpd/util.c
+++ b/sbin/isakmpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.16 2001/06/29 04:52:22 ho Exp $ */
+/* $OpenBSD: util.c,v 1.17 2001/06/29 22:59:41 angelos Exp $ */
/* $EOM: util.c,v 1.23 2000/11/23 12:22:08 niklas Exp $ */
/*
@@ -434,7 +434,8 @@ util_ntoa (char **buf, int af, u_int8_t *addr)
case AF_INET:
sfrom->sa_len = sizeof (struct sockaddr_in);
memcpy (&ip4_buf, addr, sizeof (struct in_addr));
- ((struct sockaddr_in *)sfrom)->sin_addr.s_addr = htonl (ip4_buf);
+/* ((struct sockaddr_in *)sfrom)->sin_addr.s_addr = htonl (ip4_buf);*/
+ ((struct sockaddr_in *)sfrom)->sin_addr.s_addr = ip4_buf;
break;
case AF_INET6:
sfrom->sa_len = sizeof (struct sockaddr_in6);