From: xie xingguo Date: Wed, 4 May 2016 08:53:18 +0000 (+0800) Subject: mon/Monitor: use CEPH_MON_PORT for CRC output X-Git-Tag: v11.0.0~573^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8924%2Fhead;p=ceph.git mon/Monitor: use CEPH_MON_PORT for CRC output 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 --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 6959efe3ed1d..719d5aae14d6 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -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") {