summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a414bd7..59f74c2 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -126,6 +126,13 @@ function interface_netgraph_needed($interface = "wan") {
$found = true;
break;
}
+ $ports = explode(',',$ppp['ports']);
+ foreach($ports as $pid => $port){
+ if ($realif == $port) {
+ $found = true;
+ break;
+ }
+ }
}
}
}
OpenPOWER on IntegriCloud