From aec1e2017cf2e776f2019bb92b5eb3ae79c7c9e2 Mon Sep 17 00:00:00 2001 From: shellrow <81893184+shellrow@users.noreply.github.com> Date: Sun, 16 Jan 2022 17:49:07 +0900 Subject: [PATCH] Update mod.rs --- src/gateway/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gateway/mod.rs b/src/gateway/mod.rs index 8598778..d8c90ad 100644 --- a/src/gateway/mod.rs +++ b/src/gateway/mod.rs @@ -1,8 +1,8 @@ #[cfg(any(target_os = "macos", target_os = "openbsd", target_os = "freebsd", target_os = "netbsd", target_os = "ios"))] -pub mod unix; +pub(crate) mod unix; #[cfg(any(target_os = "linux", target_os = "android"))] -pub mod linux; +pub(crate) mod linux; use std::net::{IpAddr, Ipv4Addr}; use crate::interface::{self, MacAddr, Interface};