From 2b3d5686d76ee65fceca31d0d3343c2eaa4f2364 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 4 May 2016 16:53:18 +0800 Subject: [PATCH] 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 --- src/mon/Monitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 6959efe3ed1d1..719d5aae14d6a 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") { -- 2.39.5