Project

General

Profile

Actions

Bug #5884

closed

find_carp_interface() was removed, but it is still referenced by packages

Added by Jim Pingle almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
CARP
Target version:
Start date:
02/12/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
All

Description

find_carp_interface() was removed in 2a5960b07bb2a40aeaf81423b0c52d5629e87e49 (and its many associated tickets) but the Quagga and OpenBGPd packages both use it to determine the status of a CARP VIP like so:

    $iface = trim(find_carp_interface($ipaddr));
    if ($iface) {
        $status = get_carp_interface_status($iface);
[...]

The code will need fixed to use whatever the appropriate replacement is, or if there is a method to find the status by IP address instead, that would be even better.

Actions

Also available in: Atom PDF