]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg/simple/Accepter: fix my_addr == my_addrs.v[0] constraint
authorSage Weil <sage@redhat.com>
Tue, 26 Jun 2018 16:41:14 +0000 (11:41 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Jul 2018 18:01:24 +0000 (13:01 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/simple/Accepter.cc

index 0a1c96acf84663241b294d7720d223517a812c31..4216e59c1b0d576e2e9ae94e46b748772feb6a32 100644 (file)
@@ -273,6 +273,7 @@ int Accepter::rebind(const set<int>& avoid_ports)
   // adjust the nonce; we want our entity_addr_t to be truly unique.
   nonce += 1000000;
   msgr->my_addr.nonce = nonce;
+  msgr->my_addrs.v[0].nonce = nonce;
   ldout(msgr->cct,10) << __func__ << " new nonce " << nonce << " and addr "
                        << msgr->my_addr << dendl;