summary refs log tree commit diff
path: root/net/ceph/mon_client.c
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2013-12-30 19:21:29 +0200
committerIlya Dryomov <ilya.dryomov@inktank.com>2013-12-31 20:32:30 +0200
commitf48db1e9ac6f1578ab7efef9f66c70279e2f0cb5 (patch)
tree3c6a017262e228c2346cc1233326ad58868a07a5 /net/ceph/mon_client.c
parentcdff49918c8286ac18593e742ead25242c76c81d (diff)
downloadlinux-f48db1e9ac6f1578ab7efef9f66c70279e2f0cb5.tar.gz
libceph: use CEPH_MON_PORT when the specified port is 0
Similar to userspace, don't bail with "parse_ips bad ip ..." if the
specified port is port 0, instead use port CEPH_MON_PORT (6789, the
default monitor port).

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/ceph/mon_client.c')
0 files changed, 0 insertions, 0 deletions