Add debug output for NetworkMonitor

This commit is contained in:
Philipp Hörist 2018-09-10 20:27:22 +02:00
parent f82cd95f2c
commit 0fba2b8a58
1 changed files with 1 additions and 0 deletions

View File

@ -2500,6 +2500,7 @@ class Interface:
# same state, not only on change.
return
self.network_state = connected
log.debug('NetworkMonitor state change: %s', connected)
if connected:
for connection in app.connections.values():
if connection.connected <= 0 and connection.time_to_reconnect: