ports/www/trafficserver/files/patch-cop__TrafficCop.cc
Bernhard Froehlich e8ef133efb - Update to 4.1.2
- Build with clang on FreeBSD 10 and remove USE_GCC=any
- added some configuration OPTIONS
- added patch to fix segfault with current tcl
- added patches to avoid crash on i386
- compile with libxml2, hwloc, boost
- add user tserv for owning configuration and log directory
- added stage support
- enabled compiling WCCP and SSD support
- use lua with JIT
- install perl TS module

PR:		ports/185669
Submitted by:	Radim Kolar <hsn@sendmail.cz>
Approved by:	maintainer timeout (3 weeks)
2014-01-30 12:36:23 +00:00

12 lines
390 B
C++

--- ./cop/TrafficCop.cc.orig 2013-12-05 22:07:48.000000000 +0000
+++ ./cop/TrafficCop.cc 2014-01-27 08:45:49.000000000 +0000
@@ -813,7 +813,7 @@
snprintf(port_str, sizeof(port_str), "%d", port);
memset(&hints, 0, sizeof(hints));
- hints.ai_family = AF_UNSPEC;
+ hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
err = getaddrinfo(ip, port_str, &hints, &result);