[PC-BSD Commits] r21648 - pcbsd/current/src-qt4/pc-netmanager/src/wificonfig

svn at pcbsd.org svn at pcbsd.org
Tue Feb 26 06:30:11 PST 2013


Author: kenmoore
Date: 2013-02-26 14:30:10 +0000 (Tue, 26 Feb 2013)
New Revision: 21648

Modified:
   pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp
Log:
Fix a bug with missing quotes around WEP passwords in hexadecimel



Modified: pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp	2013-02-26 12:25:10 UTC (rev 21647)
+++ pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp	2013-02-26 14:30:10 UTC (rev 21648)
@@ -164,7 +164,7 @@
            streamout << " wep_tx_keyidx=" + tmp.setNum(WEPIndex[curItem]) + "\n";
            // Check if we are using a plaintext WEP or not
            if ( WEPHex[curItem] )
-             streamout << " wep_key" + tmp.setNum(WEPIndex[curItem]) + "=" + WEPKey[curItem] + "\n";
+             streamout << " wep_key" + tmp.setNum(WEPIndex[curItem]) + "=\"" + WEPKey[curItem] + "\"\n";
            else
              streamout << " wep_key" + tmp.setNum(WEPIndex[curItem]) + "=\"" + WEPKey[curItem] + "\"\n";
 



More information about the Commits mailing list