]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
krbd: use sockaddr instead of sockaddr_storage to print
authorSage Weil <sage@redhat.com>
Fri, 6 May 2016 14:42:03 +0000 (10:42 -0400)
committerSage Weil <sage@redhat.com>
Wed, 11 May 2016 12:12:26 +0000 (08:12 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/krbd.cc

index 53f64bbbb015f9cc1c35e1214335b4bc29bb22d6..d480a5ac660571540d23e3f2b9cfeff3f0ad97fb 100644 (file)
@@ -123,7 +123,7 @@ static int build_map_buf(CephContext *cct, const char *pool, const char *image,
        ++it) {
     if (it != monmap.mon_addr.begin())
       oss << ",";
-    oss << it->second.addr;
+    oss << it->second.get_sockaddr();
   }
 
   oss << " name=" << cct->_conf->name.get_id();