Skip to content

Commit

Permalink
fixup: reset probe_count in he_internal_pmtud_handle_probe_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
expressvpn-tom-l committed Oct 18, 2023
1 parent 331dc8e commit dfb2d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/he/pmtud.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ he_return_code_t he_internal_pmtud_handle_probe_timeout(he_conn_t *conn) {
return he_internal_pmtud_send_probe(conn, conn->pmtud_probing_size);
}

// Reset probe count
conn->pmtud_probe_count = 0;

// PROBE_COUNT reaches MAX_PROBES, decide what to do based on state
switch(conn->pmtud_state) {
case HE_PMTUD_STATE_BASE:
Expand Down

0 comments on commit dfb2d79

Please sign in to comment.