I have poked around and it seems, instead, the correct fix is "== 0" (not 
FFFFFFFF as I initially thought).

A patch I applied to my local dnsmasq that makes it work perfectly in my 
network is below.

Regards,
Mark "Doridian" Dietzer




diff --git a/src/network.c b/src/network.c
index 6166484..1bc063b 100644
--- a/src/network.c
+++ b/src/network.c
@@ -360,7 +360,7 @@ static int iface_allowed(struct iface_param *param, int 
if_index, char *label,

if (int_name->flags & INP4)
  {
-     if (netmask.s_addr == 0xffff)
+     if (netmask.s_addr == 0)
      continue;

    newaddr.s_addr = (addr->in.sin_addr.s_addr & netmask.s_addr) |



_______________________________________________
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