[Dnsmasq-discuss] file not found messages from tftp

Aleksander Mazur deweloper at wp.pl
Fri Jul 9 20:14:37 UTC 2021


Dnia 2021-07-08, o godz. 21:24:49
Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk> napisał(a):

> > On 8 Jul 2021, at 20:46, Kevin Darbyshire-Bryant
> > <kevin at darbyshire-bryant.me.uk> wrote:
> > 
> > It does now!  See attached patch - unbelievably this compiled 1st time for
> > me which is unbelievable with my history on C typos - not actually run
> > tested.  
> V2 with a manpage tweak at no extra charge
> 

Thanks!
Could you please explain what is the advantage of

if ((option_bool(OPT_QUIET_TFTP) && err != ERR_FNF) || !option_bool(OPT_QUIET_TFTP))

over just the following?

if (err != ERR_FNF || !option_bool(OPT_QUIET_TFTP))

Regards,
-- 
Aleksander Mazur



More information about the Dnsmasq-discuss mailing list