]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rbd/action/Kernel: use sockaddr (not _storage) to stringify
authorSage Weil <sage@redhat.com>
Fri, 6 May 2016 14:43:00 +0000 (10:43 -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/tools/rbd/action/Kernel.cc

index f8fc413e7569882d84ab24b184799c279f698ba6..9b9400714c1c2670d0fb2f49508266271689e870 100644 (file)
@@ -49,7 +49,7 @@ static std::string map_option_ip_cb(const char *value_char)
     return "";
   }
 
-  return stringify(a.addr);
+  return stringify(a.get_sockaddr());
 }
 
 static std::string map_option_int_cb(const char *value_char)