mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-14 03:32:00 +08:00
feat: 初步增加 Windows 支持
This commit is contained in:
@@ -696,6 +696,7 @@ fn try_into_v4(addr: SocketAddr) -> SocketAddr {
|
||||
addr
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn is_virtual_interface(name: &str) -> bool {
|
||||
name.starts_with("docker")
|
||||
|| name.starts_with("br-")
|
||||
|
||||
Reference in New Issue
Block a user