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

Reply via email to