WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] add support for ipv6 address in choose_vnc_display funct

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] add support for ipv6 address in choose_vnc_display function
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Sep 2005 13:18:11 +0000
Delivery-date: Thu, 15 Sep 2005 13:16:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User vh249@xxxxxxxxxxxxxxxxxxxxxx
# Node ID cb518207fc9561a43c1cc14702a9c075ae9a302e
# Parent  da550f59e9719f2c099c4f3b89c8590fd1c92edd
add support for ipv6 address in choose_vnc_display function
getting the port from the latest field, not the first one.
fix suggested by Nickolai Zeldovich. close bug #231

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r da550f59e971 -r cb518207fc95 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Thu Sep 15 12:19:00 2005
+++ b/tools/python/xen/xm/create.py     Thu Sep 15 12:21:23 2005
@@ -673,7 +673,7 @@
             # Local port is field 3.
             y = x.split()[3]
             # Field is addr:port, split off the port.
-            y = y.split(':')[1]
+            y = y.split(':')[-1]
             r.append(int(y))
         return r
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] add support for ipv6 address in choose_vnc_display function, Xen patchbot -unstable <=