Date: Mon, 14 Sep 2015 14:38:52 +0200 From: "P.Baauw" <pbaauw@gmail.com> To: demon@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: haproxy-devel-1.6.d4 Message-ID: <55F6BFDC.1070008@gmail.com>
next in thread | raw e-mail | index | archive | help
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 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55F6BFDC.1070008>