mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-09 08:46:54 +02:00
Omit CPU pinning code on OpenBSD
This commit is contained in:
parent
75a5b4438b
commit
969c0ee6e3
1 changed files with 2 additions and 0 deletions
|
@ -431,6 +431,7 @@ void BSDEthernetTap::threadMain()
|
|||
// constructing itself.
|
||||
Thread::sleep(500);
|
||||
|
||||
#ifndef __OpenBSD__
|
||||
bool pinning = _pinning;
|
||||
|
||||
for (unsigned int i = 0; i < _concurrency; ++i) {
|
||||
|
@ -451,6 +452,7 @@ void BSDEthernetTap::threadMain()
|
|||
exit(1);
|
||||
}
|
||||
}
|
||||
#endif // __OpenBSD__
|
||||
|
||||
uint8_t b[ZT_TAP_BUF_SIZE];
|
||||
MAC to, from;
|
||||
|
|
Loading…
Add table
Reference in a new issue