diff options
author | smos <seth.mos@dds.nl> | 2012-06-01 08:09:33 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-06-01 08:10:05 +0200 |
commit | 31bdb9e51cf26424fb7a7d40ad4a812edcc092c6 (patch) | |
tree | ec110a3e7c81628b201578742ea76f5831d9b831 /etc | |
parent | e02caf4ab97b993a62e81c5002bd0581165e4a64 (diff) | |
download | pfsense-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')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
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; |