]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/Accepter: fix nonce initialization
authorSage Weil <sage@inktank.com>
Mon, 13 Aug 2012 20:15:55 +0000 (13:15 -0700)
committerSage Weil <sage@inktank.com>
Mon, 13 Aug 2012 20:28:42 +0000 (13:28 -0700)
commit75172c70ab37239d258e3113f6a16b6b9ae6fa66
tree7e90cfdd41d1890842d991d3f1adf972e0e7fe00
parentc8af0faf15f4a5afdfe11b52db733c5874038d59
msg/Accepter: fix nonce initialization

This needs to be provided to the Accepter at bind time, not by start().
Otherwise the nonce is effectively always 0, which is useless and breaks
all sorts of things.  Broken by 8453a8198c65712db968ff42be4fd10d2d216582.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Accepter.cc
src/msg/Accepter.h
src/msg/SimpleMessenger.cc