add network whitelist for public relay node

This commit is contained in:
sijie.sun
2024-08-03 15:12:54 +08:00
committed by Sijie.Sun
parent 02b5b5f3c7
commit 0da09ec605
7 changed files with 75 additions and 3 deletions
+2
View File
@@ -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)]