summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-06 20:38:14 +0000
committerErmal <eri@pfsense.org>2010-12-06 20:38:14 +0000
commit265c88c6fb2bd8b6bd6f5ff6f9503e917bf782b3 (patch)
tree5d6fcd6a39cc23a6db3e8b55e68f85d14775c110 /etc/inc
parent3e5d0d1d167da92384b65ed4576b428ef03afdb6 (diff)
downloadpfsense-265c88c6fb2bd8b6bd6f5ff6f9503e917bf782b3.zip
pfsense-265c88c6fb2bd8b6bd6f5ff6f9503e917bf782b3.tar.gz
Remove bogus code and use proper function here.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 547f633..b43b863 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1721,7 +1721,6 @@ function interface_carp_configure(&$vip) {
// set the vip interface to the vhid
$vipif = "vip{$vip['vhid']}";
- $interface = interface_translate_type_to_real($vip['interface']);
/*
* ensure the interface containing the VIP really exists
* prevents a panic if the interface is missing or invalid
@@ -1776,7 +1775,7 @@ function interface_carpdev_configure(&$vip) {
return;
$vipif = "vip" . $vip['vhid'];
- $realif = interface_translate_type_to_real($vip['interface']);
+ $realif = get_real_interface($vip['interface']);
interfaces_bring_up($realif);
/*
* ensure the interface containing the VIP really exists
OpenPOWER on IntegriCloud