mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-07 13:09:46 +00:00
remove hostname from config
This commit is contained in:
@@ -212,7 +212,7 @@ impl InstanceConfigPatcher {
|
||||
let global_ctx = weak_upgrade(&self.global_ctx)?;
|
||||
if let Some(hostname) = patch.hostname {
|
||||
global_ctx.set_hostname(hostname.clone());
|
||||
global_ctx.config.set_hostname(Some(hostname));
|
||||
global_ctx.config.set_hostname(&hostname);
|
||||
}
|
||||
if let Some(ipv4) = patch.ipv4 {
|
||||
if !global_ctx.config.get_dhcp() {
|
||||
|
||||
Reference in New Issue
Block a user