Permalink
Browse files

reset auto reconnect delay after successful connection

  • Loading branch information...
hypatia2 committed Apr 18, 2016
1 parent 275e39f commit 8444d4f178feaabfe2e83d9fcb403026b6b8e181
Showing with 2 additions and 0 deletions.
  1. +2 −0 fruho/main.tcl
@@ -3293,6 +3293,8 @@ proc connstatus-loop {} {
if {[clock milliseconds] > $::model::Connstatus_change_tstamp + 1500} {
log "newstatus: $newstatus"
if {$newstatus eq "connected"} {
# reset the auto reconnect delay after successful connection
set ::model::Gui_openvpn_connection_reconnect_delay 3
trigger-geo-loc [expr {1000 * $::model::geo_loc_delay}]
cancel-timer-channel chtimeout
cancel-timer-channel chreconnect

0 comments on commit 8444d4f

Please sign in to comment.