[tkined] One more fix to avoid failure on dns.test

From: Jun Kuriyama (kuriyama@imgsrc.co.jp)
Date: Thu Aug 10 2000 - 07:21:35 MET DST


Hmmm. I think this patch is needed to avoid failure on dns.test.

Index: tnmDns.c
===================================================================
RCS file: /anoncvs/scotty/tnm/generic/tnmDns.c,v
retrieving revision 1.5
diff -u -r1.5 tnmDns.c
--- tnmDns.c 1999/10/06 09:35:57 1.5
+++ tnmDns.c 2000/08/10 05:20:12
@@ -970,6 +970,7 @@
     dnsParams.timeout = -1;
     dnsParams.nscount = -1;
     for (i = 0; i < MAXNS; i++) {
+ dnsParams.nsaddr_list[i].sin_len = sizeof(struct sockaddr_in);
         dnsParams.nsaddr_list[i].sin_family = AF_INET;
         dnsParams.nsaddr_list[i].sin_addr.s_addr = htonl(INADDR_ANY);
         dnsParams.nsaddr_list[i].sin_port = htons(NAMESERVER_PORT);

-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:51 MET