Actions
Bug #2537
closedPacket loss thresholds set in System->Routing-><WAN interface> do not effect apinger
Start date:
07/05/2012
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0.x
Affected Architecture:
Description
I was noticing that the packet loss thresholds I set for my WANs were not being paid attention to by apinger and were NOT being entered in /var/etc/apinger.conf.
I did some digging and discovered that line 163 in /etc/inc/gwlb.inc is incorrect - it currently reads:
[code]if (!empty($gateway['lowloss'])) {[/code]
$gateway['lowloss'] does not exist in the config file, it is called $gateway['losslow'] as evidenced further down on line 165.
I've corrected this on my own platform and line 163 is now:
[code]if (!empty($gateway['losslow'])) {[/code]
Things are now working properly. I've attached the updated /etc/inc/gwlb.inc file for review.
Files
Actions