From 928222e7476f09f7333c44fa8a5f5871d61edc80 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 31 Oct 2018 16:50:51 +0100 Subject: [PATCH] interfaces: say no to trim() eventually --- src/etc/inc/interfaces.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index cd1d3292e..8710fdaa5 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -3908,7 +3908,7 @@ function link_interface_to_gif($interface) */ function find_interface_ip($interface, $exists = false) { - $interface = trim($interface); + $interface = trim($interface); /* XXX no */ if (!$exists && !does_interface_exist($interface)) { return null; @@ -3928,7 +3928,7 @@ function find_interface_ip($interface, $exists = false) */ function find_interface_ipv6($interface, $exists = false) { - $interface = trim($interface); + $interface = trim($interface); /* XXX no */ if (!$exists && !does_interface_exist($interface)) { return null; @@ -3948,7 +3948,7 @@ function find_interface_ipv6($interface, $exists = false) */ function find_interface_ipv6_ll($interface, $exists = false) { - $interface = trim($interface); + $interface = trim($interface); /* XXX no */ if (!$exists && !does_interface_exist($interface)) { return null;