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

Simon Kelley simon at thekelleys.org.uk
Thu Nov 17 16:22:09 UTC 2022


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 seems to fix the errors.
> 
> On Thu, 17 Nov 2022 at 07:50, Johnny S. Lee <_ at 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 sockaddr_in);
>>        ^
>> option.c:970:33: error: use of undeclared identifier 'addr'
>>        source_addr->in.sin_len = addr->in.sin_len = sizeof(struct sockaddr_in);
>>                                  ^
>> option.c:1019:83: error: use of undeclared identifier 'addr'
>>        sdetails->addr->in6.sin6_len =
>> sdetails->source_addr->in6.sin6_len = sizeof(addr->in6);
>>
>>             ^
>> 3 errors generated.
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 



More information about the Dnsmasq-discuss mailing list