connect: Fix generated URI for IPv6 addresses
This commit is contained in:
parent
3b7366d608
commit
603fc361bc
|
@ -390,6 +390,9 @@ class vmmConnect(vmmGObjectUI):
|
|||
addrstr = ""
|
||||
if user:
|
||||
addrstr += user + "@"
|
||||
|
||||
if host.count(":") > 1:
|
||||
host = "[%s]" % host
|
||||
addrstr += host
|
||||
|
||||
hoststr = ""
|
||||
|
|
Loading…
Reference in New Issue