Hello,

First time user so please bear with me.


I have some quite specific in-house code that relies on the "cache->ttd" value. 
 I have noticed that the function "cache_reload" in "src/cache.c" defines the 
following variable:
struct crec lrec


Further down in this function it makes non-terminal records for all 
locally-defined RRs.  It may be more of a question but why are the "ttd", "uid" 
and "ns_id" fields not initialized before the various calls to 
"make_non_terminals(&lrec)".   When I check the value of the "cache->ttd" in 
this function it's clearly just going to be random.


Is this just an oversight or is deliberately not set?


Best regards,


John.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to