mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge PR #725: BridgeUnix.c: enable local bridge function on all BSD systems
This commit is contained in:
commit
05fecef6d8
@ -270,12 +270,10 @@ bool IsEthSupported()
|
|||||||
|
|
||||||
#if defined(UNIX_LINUX)
|
#if defined(UNIX_LINUX)
|
||||||
return IsEthSupportedLinux();
|
return IsEthSupportedLinux();
|
||||||
|
#elif defined(UNIX_BSD)
|
||||||
|
return true;
|
||||||
#elif defined(UNIX_SOLARIS)
|
#elif defined(UNIX_SOLARIS)
|
||||||
return IsEthSupportedSolaris();
|
return IsEthSupportedSolaris();
|
||||||
#elif defined(BRIDGE_PCAP)
|
|
||||||
return true;
|
|
||||||
#elif defined(BRIDGE_BPF)
|
|
||||||
return true;
|
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user