mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-23 19:59:21 +03:00
Supporting VLAN for Mac OS X using TunTapOSX
This commit is contained in:
@ -227,11 +227,14 @@ struct tundladdr {
|
||||
|
||||
#else // UNIX_SOLARIS
|
||||
|
||||
#ifdef UNIX_BSD
|
||||
#if defined(UNIX_BSD) || (!defined(NO_VLAN) && defined(UNIX_MACOS))
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Tap header for FreeBSD
|
||||
// -----------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// Tap header For MacOS
|
||||
// -----------------------------------------------------------------
|
||||
/* $NetBSD: if_tun.h,v 1.5 1994/06/29 06:36:27 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -283,17 +286,7 @@ struct tuninfo {
|
||||
|
||||
#else // UNIX_BSD
|
||||
|
||||
#ifdef UNIX_MACOS
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Tap header For MacOS
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
#else // UNIX_MACOS
|
||||
|
||||
#endif // UNIX_MACOS
|
||||
|
||||
#endif // UNIX_BSD
|
||||
#endif // UNIX_BSD || UNIX_MACOS
|
||||
|
||||
#endif // UNIX_SOLARIS
|
||||
|
||||
|
Reference in New Issue
Block a user