libceph: use CEPH_MON_PORT when the specified port is 0
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 30 Dec 2013 17:21:29 +0000 (19:21 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:30 +0000 (20:32 +0200)
commitf48db1e9ac6f1578ab7efef9f66c70279e2f0cb5
tree3c6a017262e228c2346cc1233326ad58868a07a5
parentcdff49918c8286ac18593e742ead25242c76c81d
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>
net/ceph/messenger.c
This page took 0.043464 seconds and 5 git commands to generate.