1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

Merge PR #1865: Fix build when NO_VLAN

This commit is contained in:
Davide Beatrici 2023-07-05 09:55:35 +02:00 committed by GitHub
commit 1493ccb44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1416,7 +1416,7 @@ ETH *OpenEthBSD(char *name, bool local, bool tapmode, char *tapaddr)
return e; return e;
#else // NO_VLAN #else // NO_VLAN
return NULL: return NULL;
#endif // NO_VLAN #endif // NO_VLAN
} }

View File

@ -22,6 +22,9 @@
#include "VLanWin32.h" #include "VLanWin32.h"
#include "Win32Com.h" #include "Win32Com.h"
#include "WinUi.h" #include "WinUi.h"
#ifdef NO_VLAN
#include "NullLan.h"
#endif
#include "Mayaqua/Cfg.h" #include "Mayaqua/Cfg.h"
#include "Mayaqua/Encrypt.h" #include "Mayaqua/Encrypt.h"