1
0
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:
Davide Beatrici 2018-09-28 23:11:20 +02:00 committed by GitHub
commit 05fecef6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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