[PC-BSD Commits] r19030 - pcbsd/current/src-qt4/warden-gui

svn at pcbsd.org svn at pcbsd.org
Mon Sep 10 13:32:37 PDT 2012


Author: kris
Date: 2012-09-10 20:32:37 +0000 (Mon, 10 Sep 2012)
New Revision: 19030

Modified:
   pcbsd/current/src-qt4/warden-gui/dialogimport.cpp
Log:

Fix importing a jail via the GUI not passing new IP / hostname properly



Modified: pcbsd/current/src-qt4/warden-gui/dialogimport.cpp
===================================================================
--- pcbsd/current/src-qt4/warden-gui/dialogimport.cpp	2012-09-10 20:25:59 UTC (rev 19029)
+++ pcbsd/current/src-qt4/warden-gui/dialogimport.cpp	2012-09-10 20:32:37 UTC (rev 19030)
@@ -33,9 +33,9 @@
     QString IP, host;
     IP="OFF"; host="OFF";
     if (groupIP->isChecked() )
-      IP = lineIP->text();
+      IP = "--ip=" + lineIP->text();
     if (groupHostname->isChecked() )
-      host = lineHostname->text();
+      host = "--host=" + lineHostname->text();
     
     emit import(IP, host);
     close();



More information about the Commits mailing list