FreeBSD Port: haproxy-devel-1.6.d4
P.Baauw
pbaauw at gmail.com
Mon Sep 14 12:38:56 UTC 2015
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);
More information about the freebsd-ports
mailing list