Date: Mon, 14 Sep 2015 15:45:45 +0300 From: Dmitry Sivachenko <demon@FreeBSD.org> To: "P.Baauw" <pbaauw@gmail.com> Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: haproxy-devel-1.6.d4 Message-ID: <D35B12C1-E926-4FE5-A65D-887E69D6DDD1@FreeBSD.org> In-Reply-To: <55F6BFDC.1070008@gmail.com> References: <55F6BFDC.1070008@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 =D1=81=D0=B5=D0=BD=D1=82. 2015 =D0=B3., at 15:38, P.Baauw = <pbaauw@gmail.com> wrote: >=20 > Hi Demon, >=20 > Haproxy-1.6-dev5 became available today upstream, but a patch for = FreeBSD is 'missing' from that release. >=20 > When you make it available for FreeBSD, could you please include the = patch from the mail referenced below [1] ? >=20 > [1] http://marc.info/?l=3Dhaproxy&m=3D144162204927452&w=3D2 Done. >=20 > Thanks, > PiBa-NL >=20 > 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) > } >=20 > /* "connect" the UDP socket to the name server = IP */ > - if (connect(fd, (struct > sockaddr*)&curnameserver->addr, sizeof(curnameserver->addr)) =3D=3D = -1) { > + if (connect(fd, (struct > sockaddr*)&curnameserver->addr, get_addr_len(&curnameserver->addr)) =3D=3D= -1) { > Alert("Starting [%s/%s] nameserver: > can't connect socket.\n", curr_resolvers->id, > curnameserver->id); > close(fd); >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D35B12C1-E926-4FE5-A65D-887E69D6DDD1>