1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 03:45:08 +03:00

Suppress New VNA dialog.

This commit is contained in:
maxfastwalker 2022-06-04 14:41:43 +03:00
parent 55bfc6b77d
commit db7d77712a

View File

@ -5429,7 +5429,15 @@ void CmMainWindowOnCommandEx(HWND hWnd, WPARAM wParam, LPARAM lParam, bool easy)
// Installation is prohibited
break;
}
name = CmNewVLanDlg(hWnd);
char vlanDeviceName[MAX_DEVICE_NAME_LEN + 1] = {'\0'};
if (CiGetNextRecommendedVLanName(cm->Client, vlanDeviceName, MAX_DEVICE_NAME_LEN) == false)
{
// Could not get a recommended vlan name.
break;
}
name = CopyStr(vlanDeviceName);
if (name != NULL)
{
void *helper = NULL;