-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60720/
-----------------------------------------------------------
(Updated July 8, 2017, 12:08 a.m.)
Review request for mesos and Jiang Yan Xu.
Changes
-------
Added a description about the tests as well.
Bugs: MESOS-7769
https://issues.apache.org/jira/browse/MESOS-7769
Repository: mesos
Description
-------
When we introduced the `__address6__ optional IPv6 storage into
`libprocess` we also introduced a regression because of which the `port`
doesn't get initialized to whatever is specified in the `--port` flag
until the `--ip` flag is specified.
This change fixes the initialization of the `__address__` in the
absence of the `--ip` flag.
Diffs
-----
3rdparty/libprocess/src/process.cpp 264298c16199ded4ccbf948f6893f4209c23aed0
Diff: https://reviews.apache.org/r/60720/diff/1/
Testing (updated)
-------
sudo ./build/bin/mesos-agent.sh --port=5059 --master=10.0.2.15:5050
--work_dir=/tmp/mesos
tcp 0 0 0.0.0.0:5059 0.0.0.0:* LISTEN
sudo ./build/bin/mesos-agent.sh --ip=10.0.2.15 --port=5059
--master=10.0.2.15:5050 --work_dir=/tmp/mesos
tcp 0 0 10.0.2.15:5059 0.0.0.0:* LISTEN
Thanks,
Avinash sridharan