summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-26 09:28:14 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-02-26 09:28:14 -0300
commitded7e5bf566690a3b97cd1f3ba3367869e72bdf1 (patch)
tree11126e5caa8f845a2b33ca60cb8eba241df02094 /etc/inc/interfaces.inc
parent7136682edea8e77ba04fa0ff738c0d07c86f3ae1 (diff)
parent7af43cb02dcac5af8ed44ea1a65a91c6da7ee9c3 (diff)
downloadpfsense-ded7e5bf566690a3b97cd1f3ba3367869e72bdf1.zip
pfsense-ded7e5bf566690a3b97cd1f3ba3367869e72bdf1.tar.gz
Merge pull request #1516 from phil-davis/patch-2
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e524936..03a3f22 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -134,9 +134,10 @@ function interface_netgraph_needed($interface = "wan") {
foreach ($config['pppoes']['pppoe'] as $pppoe) {
if ($pppoe['mode'] != "server")
continue;
- if ($pppoe['interface'] == $interface)
+ if ($pppoe['interface'] == $interface) {
$found = true;
break;
+ }
}
}
if ($found == false)
OpenPOWER on IntegriCloud