summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-12-25 13:17:27 +0000
committerhenning <henning@openbsd.org>2003-12-25 13:17:27 +0000
commit3a4455412ac3fcc43af7a8000a49e655c33fbdc9 (patch)
treee43e7f5efb90ef1ae08ac755aba4e85885c02872 /lib
parentwe need nonblocking connect (diff)
downloadwireguard-openbsd-3a4455412ac3fcc43af7a8000a49e655c33fbdc9.tar.xz
wireguard-openbsd-3a4455412ac3fcc43af7a8000a49e655c33fbdc9.zip
small gotcha in the FSM:
if we're in state ACTIVE and get an TIMER_CONNRETRY event, we need to change the state to CONNECT _before_ we call session_connect() to attempt a connect, as session_connect can generate events that caus further state changes. as far as i saw that it only causes a bit confusion for sessions dangling between CONNECT and ACTIVE all the time without causing real trouble, but bugs are bugs, right.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions