mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-25 16:36:54 +02:00
macOS warning removal
This commit is contained in:
parent
f936758158
commit
f45d6e1eec
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
// (c) 2020-2022 ZeroTier, Inc. -- currently propritery pending actual release and licensing. See LICENSE.md.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use zerotier_network_hypervisor::vl1::InetAddress;
|
||||
|
||||
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "darwin"))]
|
||||
mod freebsd_like {
|
||||
use lazy_static::lazy_static;
|
||||
|
@ -69,7 +72,6 @@ mod freebsd_like {
|
|||
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "darwin"))]
|
||||
pub use freebsd_like::is_ipv6_temporary;
|
||||
|
||||
use zerotier_network_hypervisor::vl1::InetAddress;
|
||||
#[cfg(not(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "darwin")))]
|
||||
pub fn is_ipv6_temporary(_device_name: &str, _address: &InetAddress) -> bool {
|
||||
false
|
||||
|
|
Loading…
Add table
Reference in a new issue