From 83fd1cf84ad750b9a3f64cd72a70a0804a37bf92 Mon Sep 17 00:00:00 2001 From: Abioy Date: Mon, 15 Sep 2014 10:52:47 +0800 Subject: [PATCH] bugfix: wrong socket address in log msg of Pipe.cc paddr was not yet set up for the socket address Signed-off-by: Yongyue Sun abioy.sun@gmail.com --- src/msg/Pipe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/Pipe.cc b/src/msg/Pipe.cc index cbd04bc6e7731..c910af87bc8d6 100644 --- a/src/msg/Pipe.cc +++ b/src/msg/Pipe.cc @@ -862,7 +862,7 @@ int Pipe::connect() goto fail; } if (memcmp(banner, CEPH_BANNER, strlen(CEPH_BANNER))) { - ldout(msgr->cct,0) << "connect protocol error (bad banner) on peer " << paddr << dendl; + ldout(msgr->cct,0) << "connect protocol error (bad banner) on peer " << peer_addr << dendl; goto fail; } -- 2.47.3