Blame SOURCES/virt-manager-virtManager-show-correctly-IPv6-addresses.patch

e2df08
From 66977b79e23abddcb814199ae2d7105ff14fc6ae Mon Sep 17 00:00:00 2001
e2df08
From: Giuseppe Scrivano <gscrivan@redhat.com>
e2df08
Date: Thu, 20 Nov 2014 13:48:35 +0100
e2df08
Subject: [PATCH] virtManager: show correctly IPv6 addresses
e2df08
e2df08
VirtualConnection.get_uri_host_port already splits this information
e2df08
taking care of IPv6 addresses, do not split it again.
e2df08
e2df08
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1094631
e2df08
e2df08
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
e2df08
(cherry picked from commit c9a04c23dc38debe2b46d2c754429297893a900c)
e2df08
---
e2df08
 virtManager/connection.py | 4 ----
e2df08
 1 file changed, 4 deletions(-)
e2df08
e2df08
diff --git a/virtManager/connection.py b/virtManager/connection.py
e2df08
index 683a644..989a693 100644
e2df08
--- a/virtManager/connection.py
e2df08
+++ b/virtManager/connection.py
e2df08
@@ -383,10 +383,6 @@ class vmmConnection(vmmGObject):
e2df08
             transport = scheme.split("+")[1]
e2df08
             scheme = scheme.split("+")[0]
e2df08
 
e2df08
-        if hostname.count(":"):
e2df08
-            port = hostname.split(":")[1]
e2df08
-            hostname = hostname.split(":")[0]
e2df08
-
e2df08
         if hostname:
e2df08
             if show_user and username:
e2df08
                 hostname = username + "@" + hostname
e2df08
-- 
e2df08
1.9.3
e2df08