diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-18 16:26:26 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-18 16:29:31 (GMT) |
commit | 7d0e9c3d963ffcb3f7d6d313dfa55466beb742b9 (patch) | |
tree | c136ba17b4fa37e5954e9229cbdcfbeafce0347f /Swiften/Network/HostAddress.cpp | |
parent | 7147be63a03f1e133f83bc057be98cf9f2631733 (diff) | |
download | swift-contrib-7d0e9c3d963ffcb3f7d6d313dfa55466beb742b9.zip swift-contrib-7d0e9c3d963ffcb3f7d6d313dfa55466beb742b9.tar.bz2 |
Small tweaks to the previous patch.
Diffstat (limited to 'Swiften/Network/HostAddress.cpp')
-rw-r--r-- | Swiften/Network/HostAddress.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Network/HostAddress.cpp b/Swiften/Network/HostAddress.cpp index 7acd407..2ca1414 100644 --- a/Swiften/Network/HostAddress.cpp +++ b/Swiften/Network/HostAddress.cpp @@ -57,4 +57,8 @@ bool HostAddress::isValid() const { return !(address_.is_v4() && address_.to_v4().to_ulong() == 0); } +boost::asio::ip::address HostAddress::getRawAddress() const { + return address_; +} + } |