Merge pull request #1516 from phil-davis/patch-2

This commit is contained in:
Renato Botelho 2015-02-26 09:28:14 -03:00
commit ded7e5bf56

View File

@ -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)