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 <[email protected]> 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
[email protected]
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss