blob: 9a7bd3bac8b1b9801032227d5673384829cb0d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ad,v 1.5 2002/03/30 13:57:03 pooka Exp $
--- src/host.c.orig Sun Jul 22 17:33:22 2001
+++ src/host.c Sun Jul 22 17:34:47 2001
@@ -206,7 +206,9 @@
memset(sa, 0, *len);
*len = sizeof(struct sockaddr_in);
sa->sa_family = AF_INET;
+#ifndef __sun__
sa->sa_len = *len; /*XXX*/
+#endif
where = (char *)&((struct sockaddr_in *)sa)->sin_addr;
|