The brackets are added for display, gethostbyaddr doesn't like them.
Resolves: rhbz#1267872
From: "Brian C. Lane" bcl@redhat.com
The brackets are added for display, gethostbyaddr doesn't like them.
Resolves: rhbz#1267872 --- pyanaconda/vnc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/vnc.py b/pyanaconda/vnc.py index 1026f6b..7f01c2a 100644 --- a/pyanaconda/vnc.py +++ b/pyanaconda/vnc.py @@ -112,7 +112,7 @@ def initialize(self): ipstr = self.ip
try: - hinfo = socket.gethostbyaddr(ipstr) + hinfo = socket.gethostbyaddr(self.ip) if len(hinfo) == 3: # Consider as coming from a valid DNS record only if single IP is returned if len(hinfo[2]) == 1:
Added label: rhel7-branch.
Added label: master.
Looks good to me.
Added label: ACK.
Pushed.
Closed.
anaconda-patches@lists.fedorahosted.org