summaryrefslogtreecommitdiffhomepage
path: root/ryu/services/protocols/bgp/speaker.py
diff options
context:
space:
mode:
Diffstat (limited to 'ryu/services/protocols/bgp/speaker.py')
-rw-r--r--ryu/services/protocols/bgp/speaker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/speaker.py b/ryu/services/protocols/bgp/speaker.py
index a691b12a..994993bf 100644
--- a/ryu/services/protocols/bgp/speaker.py
+++ b/ryu/services/protocols/bgp/speaker.py
@@ -443,7 +443,7 @@ class BgpProtocol(Protocol, Activity):
message except for *Open* and *Notification* message. On receiving
*Notification* message we close connection with peer.
"""
- LOG.debug('Received msg from %s << %s' % (str(self.get_peername()),
+ LOG.debug('Received msg from %s << %s' % (str(self.get_peername()[0]),
msg))
# If we receive open message we try to bind to protocol