Re: [Etherboot-developers] [ 1010265 ] eb 3.5.8 - DNS doesn't use resulting address for boot file
Brought to you by:
marty_connor,
stefanhajnoczi
From: Anselm M. H. <an...@ho...> - 2004-08-28 17:40:37
|
Am Dienstag, 17. August 2004 05:19 schrieb Ken Yap: > > using the preset boot string, if I query something my > >DNS server is authoritative for to get around another > >bug, it still goes to the DHCP server's IP address for > >tftp. > > > >some sign and casting issues in dns_resover.c I have > >attached a fix, tested, works for me, what a mess. > > Thanks Jeremy, it has committed to CVS. Anselm, please confirm by > closing the bug report, or if you have a prefered fix commit your > version. I have to agree with Jeremy about the mess, can you make the > code cleaner, Anselm? I didn't do much on the code actually, but added several lines of comments, so I hope the random source reader will get a better understanding of what the code does, why it does it and what goes over the wire. I admit it's a great m[ae]ss of code that's not easy to get an overview of. The recursive bit should be set now; this was as issue of setting the appropriate #define in include/dns_resolver.h to 0x0100 instead of 0x0001 (now that I think about it that probably happened when I tried to "beautify" the code before the first submitting to CVS) - ethereal reports that the recursive-request bit is set. Regards, Anselm |