]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async: truly use first addr if multiple incoming addrs provided
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 5 Dec 2018 08:36:18 +0000 (16:36 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 5 Dec 2018 08:52:58 +0000 (16:52 +0800)
commit50d8c8a3cce3bfbfc9be5acfa60bda165d59e2bc
tree389519545d1460c85c8384bdd6d9d5c3142a2ebe
parent948efa96bb7f043c706f6c1907a508d73a2e2318
msg/async: truly use first addr if multiple incoming addrs provided

For incoming IPv4 and IPv6 dual stack support, there might be
multiple addresses provided in entity's addrvec.
The comment says we'll just pick whichever is listed first for now
to accept, whereas the implementation does quite the opposite.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/msg/async/AsyncMessenger.cc