[Dnsmasq-discuss] dhcp-option=encap:43, 0
Simon Kelley
simon at thekelleys.org.uk
Fri Apr 19 10:28:12 BST 2013
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.
More information about the Dnsmasq-discuss
mailing list