Project

General

Profile

Bug #5884

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

Added by Jim Pingle over 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
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.

Associated revisions

Revision 67c6bab5 (diff)
Added by Luiz Souza about 3 years ago

Add the upgrade code for OpenBGPd and Quagga OSPF packages.

Ticket #5884

History

#1 Updated by Luiz Souza about 3 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

A fix was committed to Quagga and OpenBGPd packages.

All the references of find_carp_interface() were removed.

#2 Updated by Chris Buechler about 3 years ago

  • Status changed from Feedback to Resolved

all good

Also available in: Atom PDF