mirror of
https://github.com/tonarino/innernet.git
synced 2025-01-08 04:04:48 +02: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
@ -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 New Issue
Block a user