<div dir="ltr">Thanks. Patch worked.<br><div class="gmail_extra"><br clear="all"><div>-Eddie</div>
<br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 4:00 AM,  <span dir="ltr"><<a href="mailto:dnsmasq-discuss-request@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss-request@lists.thekelleys.org.uk</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Message: 5<br>
Date: Fri, 19 Apr 2013 10:28:12 +0100<br>
From: Simon Kelley <<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>><br>
To: <a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
Subject: Re: [Dnsmasq-discuss] dhcp-option=encap:43, 0<br>
Message-ID: <<a href="mailto:51710E2C.302@thekelleys.org.uk">51710E2C.302@thekelleys.org.uk</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 18/04/13 21:12, Nect wrote:<br>
> Hello,<br>
>   It appears that Dnsmasq thinks that sub-option zero is not a valid option.<br>
> It returns a "bad dhcp-option" and will not start. The reason why I need<br>
> it, is for Juniper switches:<br>
> <a href="http://www.juniper.net/techpubs/en_US/junos12.3/topics/task/configuration/software-image-and-configuration-automatic-provisioning-confguring.html" target="_blank">http://www.juniper.net/techpubs/en_US/junos12.3/topics/task/configuration/software-image-and-configuration-automatic-provisioning-confguring.html</a><br>


><br>
> The ISC DHCP configuration works. The reason why:<br>
> On line 758  in option.c:  new->opt = 0;<br>
> Then:<br>
>   860   if (new->opt == 0)<br>
>   861     ret_err(_("bad dhcp-option"));<br>
><br>
> Maybe set new->opt to something other than zero?<br>
><br>
> Thanks,<br>
> -Eddie<br>
><br>
<br>
<br>
Good point.<br>
<br>
<a href="http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.67test1.tar.gz" target="_blank">http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.67test1.tar.gz</a><br>
<br>
should fix this.<br>
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
<br>
<br>
<br>
------------------------------<br></blockquote></div></div></div>