Project

General

Profile

Actions

Bug #2537

closed

Packet loss thresholds set in System->Routing-><WAN interface> do not effect apinger

Added by Tim Economides over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
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

gwlb.inc (19.9 KB) gwlb.inc Tim Economides, 07/05/2012 07:00 AM
Actions

Also available in: Atom PDF