Skip to content

Commit

Permalink
fix: reset loop if any tunnel interface is not passing traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed Dec 2, 2023
1 parent 765b2fa commit f75c829
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unzoner/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,8 @@ def main():
)
)

if i % POLL_FREQ == 0 and c_gwip:
# check if client side tunnel is still passing traffic (assume not)
if i % POLL_FREQ == 0: # every x cycles per loop
c_loss = 100
try:
c_loss = ping_host(host=c_gwip)
Expand Down

0 comments on commit f75c829

Please sign in to comment.