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/06 23:50:47 UTC

mesos git commit: Fixed `net::IPv4` to return `INADDR_ANY` for `ANY()`.

Repository: mesos
Updated Branches:
  refs/heads/master 1b75c37cf -> 952a7422c


Fixed `net::IPv4` to return `INADDR_ANY` for `ANY()`.

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


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

Branch: refs/heads/master
Commit: 952a7422c4f97289ccf633c746d12b54a36aea45
Parents: 1b75c37
Author: Avinash sridharan <av...@mesosphere.io>
Authored: Thu Jul 6 16:50:36 2017 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Thu Jul 6 16:50:36 2017 -0700

----------------------------------------------------------------------
 3rdparty/stout/include/stout/ip.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/952a7422/3rdparty/stout/include/stout/ip.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/ip.hpp b/3rdparty/stout/include/stout/ip.hpp
index 25779fa..6c2f323 100644
--- a/3rdparty/stout/include/stout/ip.hpp
+++ b/3rdparty/stout/include/stout/ip.hpp
@@ -333,7 +333,7 @@ public:
 
   static IPv4 ANY()
   {
-    return IPv4(INADDR_LOOPBACK);
+    return IPv4(INADDR_ANY);
   }
 
   static Try<IPv4> parse(const std::string& value)