mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
Add a setting "disable_udp_hole_punch" to disable UDP hole punch function (#291)
It can solve #289 tentative. Co-authored-by: 3rdnature <root@natureblog.net>
This commit is contained in:
@@ -178,6 +178,8 @@ pub struct Flags {
|
||||
pub disable_p2p: bool,
|
||||
#[derivative(Default(value = "false"))]
|
||||
pub relay_all_peer_rpc: bool,
|
||||
#[derivative(Default(value = "false"))]
|
||||
pub disable_udp_hole_punching: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user