mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-16 09:59:37 +02:00
upper case plink.exe
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2008-09-10 Vadim Kurland <vadim@vk.crocodile.org>
|
||||
|
||||
* instDialog.cpp (instDialog::initiateCopy): fixed bug (no #): if
|
||||
the name of the plink.exe program was specified in upper case in
|
||||
Preferences dialog, built-in installer failed to provide correct
|
||||
command line options to it.
|
||||
|
||||
* ObjectManipulator.cpp (ObjectManipulator::getMenuState): fixed
|
||||
bug #2100415: "cannot re-create or clone Routing object". The GUI
|
||||
does not let the user to delete Routing object. Policy and NAT
|
||||
|
||||
@@ -851,7 +851,7 @@ bool instDialog::doInstallPage(Firewall* f)
|
||||
* use current Windows account name to log in to the firewall and this
|
||||
* is unlikely to work anyway. This seems to be a decent workaround.
|
||||
*/
|
||||
if (!cnf.user.isEmpty() && ssh.indexOf("plink.exe")!=-1)
|
||||
if (!cnf.user.isEmpty() && ssh.toLower().indexOf("plink.exe")!=-1)
|
||||
{
|
||||
args.push_back("-ssh");
|
||||
args.push_back("-pw");
|
||||
@@ -1165,7 +1165,7 @@ void instDialog::initiateCopy(const QString &file)
|
||||
#ifdef _WIN32
|
||||
args.push_back(ssh);
|
||||
|
||||
if (!cnf.user.isEmpty() && ssh.indexOf("plink.exe")!=-1)
|
||||
if (!cnf.user.isEmpty() && ssh.toLower().indexOf("plink.exe")!=-1)
|
||||
{
|
||||
args.push_back("-ssh");
|
||||
args.push_back("-pw");
|
||||
|
||||
Reference in New Issue
Block a user