summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold/rtsol.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rtsold/rtsol.c')
-rw-r--r--usr.sbin/rtsold/rtsol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/rtsold/rtsol.c b/usr.sbin/rtsold/rtsol.c
index 62a73d0..5086ea9 100644
--- a/usr.sbin/rtsold/rtsol.c
+++ b/usr.sbin/rtsold/rtsol.c
@@ -1,4 +1,4 @@
-/* $KAME: rtsol.c,v 1.11 2000/08/13 06:14:59 itojun Exp $ */
+/* $KAME: rtsol.c,v 1.12 2001/11/12 11:47:11 jinmei Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -92,6 +92,8 @@ sockopen()
return(-1);
}
memset(&sin6_allrouters, 0, sizeof(struct sockaddr_in6));
+ sin6_allrouters.sin6_family = AF_INET6;
+ sin6_allrouters.sin6_len = sizeof(sin6_allrouters);
if (inet_pton(AF_INET6, ALLROUTER,
&sin6_allrouters.sin6_addr.s6_addr) != 1) {
warnmsg(LOG_ERR, __FUNCTION__, "inet_pton failed for %s",
OpenPOWER on IntegriCloud