Skip to content

Commit

Permalink
Fix loaded ICMP interval logging
Browse files Browse the repository at this point in the history
Copy/paste error caused the wrong ICMP interval to be logged when transitioning adaptive ICMP from idle --> loaded.
  • Loading branch information
tievolu authored Jan 8, 2024
1 parent 7d5e1eb commit 61967c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqm-autorate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3186,7 +3186,7 @@ sub set_icmp_adaptive_loaded {
lock ($icmp_interval);
$icmp_interval = $icmp_interval_loaded;
&update_reflector_strike_ttl();
if ($debug_icmp_adaptive) { &output(0, "ICMP ADAPTIVE DEBUG: Connection is loaded - ICMP interval set to $icmp_interval_idle" . "s, reflector strike TTL set to " . $reflector_strike_ttl . "s"); }
if ($debug_icmp_adaptive) { &output(0, "ICMP ADAPTIVE DEBUG: Connection is loaded - ICMP interval set to $icmp_interval_loaded" . "s, reflector strike TTL set to " . $reflector_strike_ttl . "s"); }
}
&update_auto_summary_intervals();

Expand Down

0 comments on commit 61967c0

Please sign in to comment.