summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-22 21:10:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-22 21:10:33 +0000
commit2be41ab735b7ae47853072580bafbd4dc4a35fb7 (patch)
treee5cbfccd97230be9c1ce94a9eef8d909f7214a67 /etc
parentc286d395c97a678d41fbb49ad75b7355812b9e45 (diff)
downloadpfsense-2be41ab735b7ae47853072580bafbd4dc4a35fb7.zip
pfsense-2be41ab735b7ae47853072580bafbd4dc4a35fb7.tar.gz
Convert friendly interface to real
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index ab0959d..e2b1e55 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -94,7 +94,8 @@ EOD;
foreach ($a_vip as $vipent) {
$int = guess_interface_from_ip($vipent['subnet']);
$intip = find_interface_ip($int);
- if($int == $dhcpif) {
+ $real_dhcpif = convert_friendly_interface_to_real_interface_name($dhcpif);
+ if($int == $real_dhcpif) {
/* this is the interface! */
if($vipent['advskew'] == "0")
$skew = 0;
OpenPOWER on IntegriCloud