|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2008-03-13 02:59:03
Author: chris_kohlhoff
Date: 2008-03-13 02:59:02 EDT (Thu, 13 Mar 2008)
New Revision: 43586
URL: http://svn.boost.org/trac/boost/changeset/43586
Log:
Fix incorrect use of sin_port with a sockaddr_in6 structure.
Text files modified:
trunk/boost/asio/ip/basic_endpoint.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/ip/basic_endpoint.hpp
==============================================================================
--- trunk/boost/asio/ip/basic_endpoint.hpp (original)
+++ trunk/boost/asio/ip/basic_endpoint.hpp 2008-03-13 02:59:02 EDT (Thu, 13 Mar 2008)
@@ -224,7 +224,7 @@
}
else
{
- data_.v6.sin_port
+ data_.v6.sin6_port
= boost::asio::detail::socket_ops::host_to_network_short(port_num);
}
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk