More tap driver work, increment version number, remove old binaries since signatures may not have been valid.
This commit is contained in:
parent
2498ecbc84
commit
2da6a7570b
15 changed files with 39 additions and 252 deletions
|
@ -1168,7 +1168,7 @@ EthernetTap::EthernetTap(
|
|||
Utils::snprintf(tapPath,sizeof(tapPath),"\\\\.\\Global\\%s.tap",_myDeviceInstanceId.c_str());
|
||||
_tap = CreateFileA(tapPath,GENERIC_READ|GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_SYSTEM|FILE_FLAG_OVERLAPPED,NULL);
|
||||
if (_tap == INVALID_HANDLE_VALUE)
|
||||
throw std::runtime_error("unable to open tap in \\\\.\\Global\\ namespace");
|
||||
throw std::runtime_error(std::string("unable to open tap device ")+tapPath);
|
||||
|
||||
// Set media status to enabled
|
||||
uint32_t tmpi = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue