mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-06 17:59:11 +00:00
add network whitelist for public relay node
This commit is contained in:
@@ -169,6 +169,8 @@ pub struct Flags {
|
||||
pub no_tun: bool,
|
||||
#[derivative(Default(value = "false"))]
|
||||
pub use_smoltcp: bool,
|
||||
#[derivative(Default(value = "\"*\".to_string()"))]
|
||||
pub foreign_network_whitelist: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user