From 65483499bff8c97d28f42527c4153d1c90b61683 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Mon, 1 Mar 2021 04:26:14 +0100 Subject: [PATCH] Cedar/WinUi.c: Remove reference to "vpncmd_x64.exe" and "vpncmd_ia64.exe" It was missed in a3eb115b0af6933acd7ca710090ee78a40f64d9c. --- src/Cedar/WinUi.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/Cedar/WinUi.c b/src/Cedar/WinUi.c index a32287f7..481b664c 100644 --- a/src/Cedar/WinUi.c +++ b/src/Cedar/WinUi.c @@ -2302,19 +2302,7 @@ void ShowTcpIpConfigUtil(HWND hWnd, bool util_mode) GetExeDirW(exedir, sizeof(exedir)); - if (IsX64()) - { - UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd_x64.exe", exedir); - } - else if (IsIA64()) - { - UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd_ia64.exe", exedir); - } - else - { - UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd.exe", exedir); - } - + UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd.exe", exedir); if (IsFileW(tmp)) { RunW(tmp, L"/tool /cmd:exit", true, false);