<br>It looks good and It did not break anything in the general dns, dhcp etc.<br>functionality as much as I ran it. Thanks.<br>Anything will go in the contrib directory about this ! ? <br><br>cheers<br>Sushil. <br><br><div class="gmail_quote">
On Mon, Jun 27, 2011 at 9:17 PM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sushil Agrawal wrote:<br>
> [sorry if you have received multiple copies of this email; facing<br>
> problems in posting<br>
> to the list; big size etc ... ]<br>
><br>
><br>
> Attached is the modified patch after the feedback. It is also<br>
> pasted at the end of this email.<br>
><br>
> Following is the summary of the changes:<br>
><br>
> 1. dnsmasq-2.57/dnsmasq.conf.<br>
> example:<br>
> 2. dnsmasq-2.57/man/dnsmasq.8<br>
> added example and description for following version of dhcp-boot<br>
><br>
> #dhcp-boot=/var/ftpd/pxelinux.0,boothost,tftp_server_name<br>
><br>
> 3.<br>
> dnsmasq-2.57/src/dnsmasq.h<br>
> added a new field 'tftp_sname' in struct dhcp_boot<br>
> for the tftp server name.<br>
><br>
> 4.<br>
> dnsmasq-2.57/src/option.c<br>
> added code to process the tftp_servername option.<br>
><br>
> 5.<br>
> dnsmasq-2.57/src/rfc2131.c<br>
> added code to call cache_find_by_name() to get an IP address<br>
> of the tftp server given its name. cache_find_by_name()<br>
> automatically returns these addresses in cycle.<br>
><br>
><br>
> tested with:<br>
><br>
> dhcp-boot=pxelinux.0,test2,test2<br>
> in the dnsmasq.conf file<br>
><br>
> --dhcp-boot=pxelinux.0,test2,test2<br>
> on the command line<br>
><br>
> --dhcp-boot=pxelinux.0,,test2<br>
> on the command line.<br>
><br>
> In these examples test2 was considered as tftp server name and<br>
> so it was looked up in the cache and one ip address was returned.<br>
><br>
><br>
<br>
Thanks for that. I integrated your patch and tweaked it a bit, please<br>
could you test<br>
<br>
<a href="http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.58test15.tar.gz" target="_blank">http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.58test15.tar.gz</a><br>
<br>
and make sure I didn't break anything?<br>
<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Simon.<br>
<br>
</font></blockquote></div><br>