mirror of
https://github.com/tonarino/innernet.git
synced 2024-11-10 17:04:53 +08:00
client: update hosts even when you're the only peer on the network
Fixes #144
This commit is contained in:
parent
dbb499a848
commit
62821d5bdf
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ fn fetch(
|
|||
.map(PeerConfigBuilder::from)
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
if !updates.is_empty() {
|
||||
if !updates.is_empty() || !interface_up {
|
||||
DeviceUpdate::new()
|
||||
.add_peers(&updates)
|
||||
.apply(interface, network.backend)
|
||||
|
|
Loading…
Reference in a new issue