You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/05/31 19:22:03 UTC

[trafficserver] branch master updated: ProtocolStack - fix user agent side IPv6 detection.

This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  b339d53   ProtocolStack - fix user agent side IPv6 detection.
b339d53 is described below

commit b339d535d27d2667ed8dd7939aa4aca3aeaec98e
Author: Alan M. Carroll <so...@yahoo-inc.com>
AuthorDate: Wed May 31 08:15:07 2017 -0500

    ProtocolStack - fix user agent side IPv6 detection.
---
 iocore/net/UnixNetAccept.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iocore/net/UnixNetAccept.cc b/iocore/net/UnixNetAccept.cc
index 63accc1..c47d640 100644
--- a/iocore/net/UnixNetAccept.cc
+++ b/iocore/net/UnixNetAccept.cc
@@ -288,6 +288,7 @@ NetAccept::do_blocking_accept(EThread *t)
     vc->set_is_transparent(opt.f_inbound_transparent);
     vc->options.packet_mark = opt.packet_mark;
     vc->options.packet_tos  = opt.packet_tos;
+    vc->options.ip_family   = opt.ip_family;
     vc->apply_options();
     vc->set_context(NET_VCONNECTION_IN);
     vc->accept_object = this;
@@ -436,6 +437,7 @@ NetAccept::acceptFastEvent(int event, void *ep)
     vc->set_is_transparent(opt.f_inbound_transparent);
     vc->options.packet_mark = opt.packet_mark;
     vc->options.packet_tos  = opt.packet_tos;
+    vc->options.ip_family   = opt.ip_family;
     vc->apply_options();
     vc->set_context(NET_VCONNECTION_IN);
     SET_CONTINUATION_HANDLER(vc, (NetVConnHandler)&UnixNetVConnection::mainEvent);

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].