mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-16 09:36:14 -08:00
support encryption (#60)
This commit is contained in:
1 parent
69651ae3fd
commit
fcc73159b3
23 files changed
+489
-81
No files matched your search
@@ -71,10 +71,10 @@ impl NetworkConfig {
|
||||
.with_context(|| format!("failed to parse instance id: {}", self.instance_id))?,
|
||||
);
|
||||
cfg.set_inst_name(self.network_name.clone());
|
||||
cfg.set_network_identity(NetworkIdentity {
|
||||
network_name: self.network_name.clone(),
|
||||
network_secret: self.network_secret.clone(),
|
||||
});
|
||||
cfg.set_network_identity(NetworkIdentity::new(
|
||||
self.network_name.clone(),
|
||||
self.network_secret.clone(),
|
||||
));
|
||||
|
||||
if self.virtual_ipv4.len() > 0 {
|
||||
cfg.set_ipv4(
|
||||
|
||||
Reference in new issue
Block a user