]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/Monitor: use CEPH_MON_PORT for CRC output
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 4 May 2016 08:53:18 +0000 (16:53 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 10 May 2016 04:19:44 +0000 (12:19 +0800)
The default monitor port will be changed from 6789 to 3300, which has
been assigned to us by IANA. So update this accordingly for better
tracing and understanding.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/Monitor.cc

index 6959efe3ed1d10603b4ebab754dd8df95141d347..719d5aae14d6a44e3c49f5d4f6b0ec6cecc57250 100644 (file)
@@ -2925,7 +2925,7 @@ void Monitor::handle_command(MonOpRequestRef op)
     f->flush(rdata);
 
     ostringstream ss2;
-    ss2 << "report " << rdata.crc32c(6789);
+    ss2 << "report " << rdata.crc32c(CEPH_MON_PORT);
     rs = ss2.str();
     r = 0;
   } else if (prefix == "node ls") {