[Dnsmasq-discuss] rfc3527 support

Simon Kelley simon at thekelleys.org.uk
Tue May 3 13:11:17 BST 2011


Takayuki Kaiso wrote:
> Hi,
> 
> I needed to apply the following patch to work with decp relay which is using
> rfc3527 link selection sub option.
> 
> As far as I looked around dhcp.c, complete_context() failed to locate the
> target context because parm.relay is set to be mess->giaddr even though
> we should use the subnet address specified in link-selection sub option.
> 
> I think we also need to do the similar thing also for rfc3011 handling,
> and I will take care of it if I get review on this patch by any of you.
> 

What was the problem you are fixing? Confusingly, RFC3527 and RFC3011
subnet selection are handled much later in the call-chain: the code
starts around line 190 in rfc2131.c. If there's a problem (which is, of
course, possible) it should be fixed in that code.

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list