diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-01-16 14:24:03 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-01-16 14:24:03 -0200 |
commit | daae5e034fc2d49d9b97411f112cad7c891f79b5 (patch) | |
tree | 3d218396e0c946ea46a70acb897305720a3e6e6b /etc/inc/interfaces.inc | |
parent | 0c5dd854a840007e09bd3f95949cbce9abeb7d18 (diff) | |
download | pfsense-daae5e034fc2d49d9b97411f112cad7c891f79b5.zip pfsense-daae5e034fc2d49d9b97411f112cad7c891f79b5.tar.gz |
fix syntax and unbreak interfaces.inc
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 6c5ee1b..d1c38c6 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -4072,7 +4072,7 @@ function convert_friendly_interface_to_friendly_descr($interface) { else $ifdesc = strtoupper($config['interfaces'][$interface]['descr']); break; - } else if (substr($interface, 0, 4) == '_vip')) { + } else if (substr($interface, 0, 4) == '_vip') { if (is_array($config['virtualip']['vip'])) { foreach ($config['virtualip']['vip'] as $counter => $vip) { if ($vip['mode'] == "carp") { @@ -4081,7 +4081,7 @@ function convert_friendly_interface_to_friendly_descr($interface) { } } } - } else if (substr($interface, 0, 5) == '_lloc')) { + } else if (substr($interface, 0, 5) == '_lloc') { return get_interface_linklocal($interface); } else { /* if list */ |