> On 14 сент. 2015 г., at 15:38, P.Baauw <pba...@gmail.com> wrote:
> 
> Hi Demon,
> 
> Haproxy-1.6-dev5 became available today upstream, but a patch for FreeBSD is 
> 'missing' from that release.
> 
> When you make it available for FreeBSD, could you please include the patch 
> from the mail referenced below [1] ?
> 
> [1] http://marc.info/?l=haproxy&m=144162204927452&w=2


Done.



> 
> Thanks,
> PiBa-NL
> 
> diff --git a/src/dns.c b/src/dns.c
> index 4bc5448..f725ff4 100644
> --- a/src/dns.c
> +++ b/src/dns.c
> @@ -819,7 +819,7 @@ int dns_init_resolvers(void)
>                        }
> 
>                        /* "connect" the UDP socket to the name server IP */
> -                       if (connect(fd, (struct
> sockaddr*)&curnameserver->addr, sizeof(curnameserver->addr)) == -1) {
> +                       if (connect(fd, (struct
> sockaddr*)&curnameserver->addr, get_addr_len(&curnameserver->addr)) == -1) {
>                                Alert("Starting [%s/%s] nameserver:
> can't connect socket.\n", curr_resolvers->id,
>                                                curnameserver->id);
>                                close(fd);
> 
> 

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to