[virt-tools-list] [PATCH 2/4] Don't hardcode ssh port to 0

Guido Günther agx at sigxcpu.org
Fri Aug 12 17:50:22 UTC 2011


Many thanks to Luca Capello <luca at pca.it> for debugging this.
---
 src/virt-viewer-app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 71284b6..2ad5710 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -1311,7 +1311,7 @@ virt_viewer_app_set_connect_info(VirtViewerApp *self,
 	priv->transport = g_strdup(transport);
 	priv->unixsock = g_strdup(unixsock);
 	priv->user = g_strdup(user);
-	priv->port = 0;
+	priv->port = port;
 
 	virt_viewer_app_update_pretty_address(self);
 }
-- 
1.7.5.4




More information about the virt-tools-list mailing list