[Dnsmasq-discuss] [PATCH] Remove NULL check for intname.

Kurt H Maier khm at sciops.net
Thu Oct 5 04:43:15 BST 2017


On Wed, Oct 04, 2017 at 07:23:22PM -0700, Rosen Penev wrote:
>  
> -  if (intname && strlen(intname) != 0)
> +  if (!strlen(intname))
>      ifindex = if_nametoindex(intname); /* index == 0 when not binding to an interface */

How much testing have you done of these patches?

khm



More information about the Dnsmasq-discuss mailing list