]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msgr: remove the macro not referenced anywhere 37380/head
authorChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 24 Sep 2020 01:25:38 +0000 (09:25 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 24 Sep 2020 04:47:33 +0000 (12:47 +0800)
The default port range should be between:
  [ms_bind_port_min, ms_bind_port_max]

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/include/msgr.h

index f7b2a07816ba4843bc9e692f860782bc41d25981..eedb95dd04febfbf4cddf93a7b443a9741348733 100644 (file)
 #define CEPH_MON_PORT_LEGACY    6789  /* legacy default monitor port */
 #define CEPH_MON_PORT_IANA      3300  /* IANA monitor port */
 
-/*
- * client-side processes will try to bind to ports in this
- * range, simply for the benefit of tools like nmap or wireshark
- * that would like to identify the protocol.
- */
-#define CEPH_PORT_FIRST  6789
-
 /*
  * tcp connection banner.  include a protocol version. and adjust
  * whenever the wire protocol changes.  try to keep this string length