Project

General

Profile

Actions

Bug #2415

closed

Fallout from CARP vip interface names changes

Added by Jim Pingle over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
CARP
Target version:
Start date:
05/08/2012
Due date:
% Done:

0%

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

Description

Now that CARP VIP interfaces have been renamed, some issues have come up. They are now named, for example, wan_vip241.

  • They appear in the list for assignment under Interfaces > (assign).
  • Some code still looks for "vip" such as the static route check for IPsec in vpn.inc
  • More?

Since these changes were also committed on RELENG_2_0 any fixes need to be cherry-picked.

Possible things that need fixed:

etc/inc/filter.inc:                     if(preg_match("/^vip/i", $ph1ent['interface'])) {
etc/inc/interfaces.inc:         if (preg_match("/^vip|^tun|^ovpn|^gif|^gre|^lagg|^bridge|vlan|^stf|^srd/i", $realif))
etc/inc/interfaces.inc:         else if (preg_match("/^vip/i", $interface))
etc/inc/interfaces.inc:         else if (preg_match("/^vip/i", $interface))
etc/inc/interfaces.inc:         else if (preg_match("/^vip/i", $interface))
etc/inc/interfaces.inc:                else if (preg_match("/^vip/i", $interface))
etc/inc/interfaces.inc:                else if (preg_match("/^vip/i", $interface))
etc/inc/vpn.inc:                                if (preg_match("/^carp|^vip/i", $ph1ent['interface']))

The matches for "^vip" will no longer match.

Actions

Also available in: Atom PDF