This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.

commit be31a062f20be2f8070892ca12695193976d17c5
Author: Mike Gabriel <[email protected]>
Date:   Sat Nov 10 19:41:47 2012 +0100

    make --from-stdin IPv6 capable
---
 pyhoca-cli | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/pyhoca-cli b/pyhoca-cli
index 4998b827..1e9dd127 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -375,10 +375,9 @@ Possible values for the --pack NX option are:
 
         lightdm_remote_login_hash = sys.stdin.readline()
         (a.username, a.password, a.server, a.command) = 
lightdm_remote_login_hash.split()
-        # FIXME: this is not IPv6 capable. As we are preparing a draft, we 
currently ignore that...
         if ":" in a.server:
-            a.remote_ssh_port = a.server.split(':')[1]
-            a.server = a.server.split(':')[0]
+            a.remote_ssh_port = a.server.split(':')[-1]
+            a.server = a.server.split(':')[:-1]
         a.command = a.command.upper()
         a.geometry = 'fullscreen'
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to