allow set routes manually and disable propagated routes (#191)

This commit is contained in:
Sijie.Sun
2024-07-24 22:45:55 +08:00
committed by GitHub
parent fc9812dd54
commit 5451b52daa
4 changed files with 73 additions and 8 deletions

View File

@@ -20,6 +20,7 @@ pub type NetworkIdentity = crate::common::config::NetworkIdentity;
#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
pub enum GlobalCtxEvent {
TunDeviceReady(String),
TunDeviceError(String),
PeerAdded(PeerId),
PeerRemoved(PeerId),