summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-06-01 08:09:33 +0200
committersmos <seth.mos@dds.nl>2012-06-01 08:10:05 +0200
commit31bdb9e51cf26424fb7a7d40ad4a812edcc092c6 (patch)
treeec110a3e7c81628b201578742ea76f5831d9b831 /etc/inc/interfaces.inc
parente02caf4ab97b993a62e81c5002bd0581165e4a64 (diff)
downloadpfsense-31bdb9e51cf26424fb7a7d40ad4a812edcc092c6.zip
pfsense-31bdb9e51cf26424fb7a7d40ad4a812edcc092c6.tar.gz
Make sure to get the real interface in case we get passed a friendly interface
Redmine ticket #2463
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 00e8c6a..19c5037 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -4172,7 +4172,8 @@ function find_interface_ipv6($interface, $flush = false)
global $interface_snv6_arr_cache;
global $config;
- $interface = str_replace("\n", "", $interface);
+ $interface = trim($interface);
+ $interface = get_real_interface($interface);
if (!does_interface_exist($interface))
return;
OpenPOWER on IntegriCloud