Skip to content

Commit

Permalink
stun: if cached ip switch to trying
Browse files Browse the repository at this point in the history
  • Loading branch information
yosoyubik committed Nov 13, 2023
1 parent 215d4e4 commit fedccd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/vere/io/ames.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,7 @@ _stun_czar(u3_ames* sam_u)
// cached addresses have a 5 minute TTL
//
else if ((0 != pip_w) && ((now - wen) < 300)) {
sam_u->sun_u.sat_y = STUN_TRYING;
sam_u->sun_u.lan_u.pip_w = pip_w;
_stun_send_request(sam_u);
gettimeofday(&sam_u->sun_u.sar_u, 0);
Expand Down

0 comments on commit fedccd0

Please sign in to comment.