summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
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