summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink/io_address.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2011-08-18 15:20:26 +0200
committerTomek Mrugalski <tomasz@isc.org>2011-08-18 15:20:26 +0200
commitf6463fa6e74a32e3fb28f150247e11d0fe073782 (patch)
tree8f5987cf97916f3dc4ff8014e3a27a5e2a7ef48c /src/lib/asiolink/io_address.cc
parent[878] update usage() to match actual arguments (diff)
downloadkea-f6463fa6e74a32e3fb28f150247e11d0fe073782.tar.xz
kea-f6463fa6e74a32e3fb28f150247e11d0fe073782.zip
[878] Replaced Addr6 class with asiolink::IOAddress.
Diffstat (limited to 'src/lib/asiolink/io_address.cc')
-rw-r--r--src/lib/asiolink/io_address.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/asiolink/io_address.cc b/src/lib/asiolink/io_address.cc
index 7f7a6fc2b3..7e2f5d45ea 100644
--- a/src/lib/asiolink/io_address.cc
+++ b/src/lib/asiolink/io_address.cc
@@ -63,5 +63,10 @@ IOAddress::getFamily() const {
}
}
+const asio::ip::address&
+IOAddress::getAddress() const {
+ return asio_address_;
+}
+
} // namespace asiolink
} // namespace isc