You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2017/07/05 19:36:58 UTC

[3/3] mesos git commit: Mesos updates for new inet4::Address.

Mesos updates for new inet4::Address.

Review: https://reviews.apache.org/r/60148/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/355861cd
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/355861cd
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/355861cd

Branch: refs/heads/master
Commit: 355861cd9209a4dc915fe47a8d29a0aff289611b
Parents: 58d70f7
Author: Avinash sridharan <av...@mesosphere.io>
Authored: Wed Jul 5 12:36:33 2017 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Wed Jul 5 12:36:33 2017 -0700

----------------------------------------------------------------------
 src/tests/utils.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/355861cd/src/tests/utils.cpp
----------------------------------------------------------------------
diff --git a/src/tests/utils.cpp b/src/tests/utils.cpp
index b2c9d68..06d3d62 100644
--- a/src/tests/utils.cpp
+++ b/src/tests/utils.cpp
@@ -34,6 +34,7 @@
 
 namespace http = process::http;
 namespace inet = process::network::inet;
+namespace inet4 = process::network::inet4;
 
 using std::set;
 using std::string;
@@ -79,7 +80,7 @@ Try<uint16_t> getFreePort()
     return Error(socket.error());
   }
 
-  Try<inet::Address> address = socket->bind(inet::Address::ANY_ANY());
+  Try<inet::Address> address = socket->bind(inet4::Address::ANY_ANY());
 
   if (address.isError()) {
     return Error(address.error());