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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user