diff options
-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; |