[Dnsmasq-discuss] DHCP options and SIGHUP

Simon Kelley simon at thekelleys.org.uk
Tue Jul 14 20:50:44 BST 2009


Olaf Westrik wrote:

> 
>> That should, of course, be
>>
>> net:<tag>,option:bootfile-name,<filename>
> 
> According to http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
> both opt and option are valid?
> The code in option.c thinks differently though ;-)

I can't find anywhere in the man page which says that "opt:" is valid.
What have I missed?

> 
> 
>> The only thing that this doesn't work for is the server address field
>> in dhcp-boot, since there's no option defined to represent this. As
>> long as you're relying on the default that's OK. A "pseudo option"
>> should probably be defined for this data too, to fix this hole.
> 
> Am I correct to assume that this requires an addition to opttab in
> option.c (next-server-ip) and matching code in rfc2131.c?
> If so, say the word and I will get at it :-), not before thursday though.
> 

Thanks for the offer but I did this last night: it's a simple change.

Code is available at

http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.50test7.tar.gz


Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list