1
0
mirror of synced 2026-05-02 06:15:40 +00:00

Followed up with latest changes on Windows:

- Updated to boost 1.82
- Fixed TAP driver enumeration change
- Added .bat files to start simulator
- Updated to platform tolset v143
- Removed NuGET boost dependency
- Added gitignore to hide most stuff that we don't want to track
- Removed profile from putty command line
- Changed TAP driver name to what is the default with OpenVPN install
This commit is contained in:
Andras Tantos
2023-01-29 11:11:22 -08:00
parent ac26629e29
commit dc11ecf6a5
29 changed files with 193 additions and 132 deletions

View File

@@ -11,6 +11,7 @@
#include <config.h>
#include <boost/algorithm/string/predicate.hpp>
#include <winioctl.h>
#include <iphlpapi.h>
@@ -415,8 +416,11 @@ std::vector<TapAdapter_c> EnumTaps() {
if (
(RetVal != ERROR_SUCCESS) ||
(Type != REG_SZ) ||
(strcmp(Entry, TAP_COMPONENT_ID1) != 0 && strcmp(Entry, TAP_COMPONENT_ID2) != 0)
) {
(
!boost::algorithm::ends_with(std::string(Entry), std::string(TAP_COMPONENT_ID1)) &&
!boost::algorithm::ends_with(std::string(Entry), std::string(TAP_COMPONENT_ID2))
)
) {
continue;
}