Thanks. Patch worked. -Eddie
On Fri, Apr 19, 2013 at 4:00 AM, < [email protected]> wrote: > > Message: 5 > Date: Fri, 19 Apr 2013 10:28:12 +0100 > From: Simon Kelley <[email protected]> > To: [email protected] > Subject: Re: [Dnsmasq-discuss] dhcp-option=encap:43, 0 > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 18/04/13 21:12, Nect wrote: > > Hello, > > It appears that Dnsmasq thinks that sub-option zero is not a valid > option. > > It returns a "bad dhcp-option" and will not start. The reason why I need > > it, is for Juniper switches: > > > http://www.juniper.net/techpubs/en_US/junos12.3/topics/task/configuration/software-image-and-configuration-automatic-provisioning-confguring.html > > > > The ISC DHCP configuration works. The reason why: > > On line 758 in option.c: new->opt = 0; > > Then: > > 860 if (new->opt == 0) > > 861 ret_err(_("bad dhcp-option")); > > > > Maybe set new->opt to something other than zero? > > > > Thanks, > > -Eddie > > > > > Good point. > > http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.67test1.tar.gz > > should fix this. > > > Cheers, > > Simon. > > > > ------------------------------ >
_______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
