summaryrefslogtreecommitdiff
path: root/qpid/python/qmf/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/qmf/console.py')
-rw-r--r--qpid/python/qmf/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qmf/console.py b/qpid/python/qmf/console.py
index 6326b777e5..7e0341c6c1 100644
--- a/qpid/python/qmf/console.py
+++ b/qpid/python/qmf/console.py
@@ -114,7 +114,7 @@ class BrokerURL(URL):
return self.host + ":" + str(self.port)
def match(self, host, port):
- return socket.getaddrinfo(self.host, self.port)[0][4] == socket.gethostbyname(host, port)[0][4]
+ return socket.getaddrinfo(self.host, self.port)[0][4] == socket.getaddrinfo(host, port)[0][4]
class Object(object):
""" This class defines a 'proxy' object representing a real managed object on an agent.