Project

General

Profile

Actions

Bug #13295

closed

Incorrect function parameters for ``get_dpinger_status()`` call in ``gwlb.inc``

Added by → luckman212 over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Gateway Monitoring
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

There seems to be an error in gwlb.inc around line 479. The call to get_dpinger_status() has the $action_disable arg at position 2, but the function definition needs it at position 3. So, the bool is actually passed as param 2, which is supposed to be an array ($gways).

Not sure what problems this may have caused, but it seems incorrect.

PR: https://github.com/pfsense/pfsense/pull/4604

Actions

Also available in: Atom PDF