mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-10 12:46:14 -08:00
Revert "remove hostname from config"
This commit is contained in:
1 parent
c8697e76b4
commit
ea5e34b6af
5 files changed
+63
-46
No files matched your search
@@ -213,7 +213,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(&hostname);
|
||||
global_ctx.config.set_hostname(Some(hostname));
|
||||
}
|
||||
if let Some(ipv4) = patch.ipv4 {
|
||||
if !global_ctx.config.get_dhcp() {
|
||||
|
||||
Reference in new issue
Block a user