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/10 17:56:22 UTC

mesos git commit: Fixed initialization of `LIBPROCESS_IP6` on agent.

Repository: mesos
Updated Branches:
  refs/heads/master c08bb57b0 -> edd8453c7


Fixed initialization of `LIBPROCESS_IP6` on agent.

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


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

Branch: refs/heads/master
Commit: edd8453c74441099348535a42397a694bd3f78a2
Parents: c08bb57
Author: Avinash sridharan <av...@mesosphere.io>
Authored: Mon Jul 10 10:56:07 2017 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Mon Jul 10 10:56:07 2017 -0700

----------------------------------------------------------------------
 src/slave/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/edd8453c/src/slave/main.cpp
----------------------------------------------------------------------
diff --git a/src/slave/main.cpp b/src/slave/main.cpp
index 358a439..578f7c8 100644
--- a/src/slave/main.cpp
+++ b/src/slave/main.cpp
@@ -321,7 +321,7 @@ int main(int argc, char** argv)
 
     os::setenv("LIBPROCESS_IP6", strings::trim(ip6Address.get()));
   } else if (flags.ip6.isSome()) {
-    os::setenv("LIBPROCESS_IP6", flags.ip.get());
+    os::setenv("LIBPROCESS_IP6", flags.ip6.get());
   }
 
   os::setenv("LIBPROCESS_PORT", stringify(flags.port));