mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-29 12:50:42 +02:00
core: minor fix in calculating timeouts for connection retry
The previous version is not severely wrong, it is just be better to treat connections whose retry block expires *now* as ready to reconnect. Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
c960d474fb
commit
bd7e647914
1 changed files with 1 additions and 1 deletions
|
|
@ -1267,7 +1267,7 @@ reset_connections_retries (gpointer user_data)
|
|||
if (con_stamp == 0)
|
||||
continue;
|
||||
|
||||
if (con_stamp < now) {
|
||||
if (con_stamp <= now) {
|
||||
nm_settings_connection_reset_autoconnect_retries (connection);
|
||||
changed = TRUE;
|
||||
} else if (min_stamp == 0 || min_stamp > con_stamp)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue