summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-01-16 14:24:03 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-01-16 14:24:03 -0200
commitdaae5e034fc2d49d9b97411f112cad7c891f79b5 (patch)
tree3d218396e0c946ea46a70acb897305720a3e6e6b /etc
parent0c5dd854a840007e09bd3f95949cbce9abeb7d18 (diff)
downloadpfsense-daae5e034fc2d49d9b97411f112cad7c891f79b5.zip
pfsense-daae5e034fc2d49d9b97411f112cad7c891f79b5.tar.gz
fix syntax and unbreak interfaces.inc
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
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 */
OpenPOWER on IntegriCloud