Re: [Dnsmasq-discuss] v2.87test7 compile error on BSD

2022-02-03 Thread Simon Kelley
Looks like a good fix to me. Patch applied. Simon. On 03/02/2022 22:59, Johnny S. Lee via Dnsmasq-discuss wrote: The following error occurred when compiling on FreeBSD 13 dhcp.c:461:60: error: incompatible operand types ('in_addr_t' (aka 'unsigned int') and 'struct in_addr')

[Dnsmasq-discuss] v2.87test7 compile error on BSD

2022-02-03 Thread Johnny S. Lee via Dnsmasq-discuss
The following error occurred when compiling on FreeBSD 13 dhcp.c:461:60: error: incompatible operand types ('in_addr_t' (aka 'unsigned int') and 'struct in_addr') dest.sin_addr.s_addr = (ntohs(mess->flags) & 0x8000) ? INADDR_BROADCAST : mess->yiaddr;

[Dnsmasq-discuss] --server order / default if fail

2022-02-03 Thread Salatiel Filho
Hi, I am trying to set dnsmasq on my desktop to forward only dns requests to my company's domain to their DNS server while left all the remaining on google's DNS. Reading dnsmasq manual I can see: -S, --local, --server=[/[]/[domain/]][[#][@][@[#]] Specify IP address of