Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed Dec 3, 2023
1 parent 65b6232 commit a5404a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unzoner/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def main():
if DEBUG: print_exc()

if not started[idx] and not starting[idx]:
if i == 1: # once per loop (start)
if i == 1: # at the beginning of the cycle
starting[idx] = True
log('vpn-server-state: cycle={} starting={} proto={}'.format(
i,
Expand Down Expand Up @@ -398,7 +398,7 @@ def main():
pass

if not connected and not connecting: # connect client-vpn
if i == 1:
if i == 1: # at the beginning of the cycle
connecting = True
log('vpn-client-state: cycle={} connecting={} family={}'.format(
i,
Expand Down

0 comments on commit a5404a2

Please sign in to comment.