Re: [Dnsmasq-discuss] v2.88rc1 build errors on BSD

2022-11-17 Thread Simon Kelley
Thanks. Testing on BSD revealed a bug in that new code on all platforms (It calls freeaddrinfo(NULL) ) but on BSD that crashes. 2.88rc should fix all of this. Cheers, Simon. On 16/11/2022 23:56, Johnny S. Lee via Dnsmasq-discuss wrote: Adding 'sdetails->' to all three of them

[Dnsmasq-discuss] v2.88rc1 build errors on BSD

2022-11-16 Thread Johnny S. Lee via Dnsmasq-discuss
When building on FreeBSD: option.c:970:7: error: use of undeclared identifier 'source_addr' source_addr->in.sin_len = addr->in.sin_len = sizeof(struct sockaddr_in); ^ option.c:970:33: error: use of undeclared identifier 'addr' source_addr->in.sin_len = addr->in.sin_len =

Re: [Dnsmasq-discuss] v2.88rc1 build errors on BSD

2022-11-16 Thread Johnny S. Lee via Dnsmasq-discuss
Adding 'sdetails->' to all three of them seems to fix the errors. On Thu, 17 Nov 2022 at 07:50, Johnny S. Lee <_...@jsl.io> wrote: > > When building on FreeBSD: > > option.c:970:7: error: use of undeclared identifier 'source_addr' > source_addr->in.sin_len = addr->in.sin_len = sizeof(struct