mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
We don't want to detach netgraph nodes from interfaces that are used by
any PPPoE/PPTP/L2TP configurations.
This commit is contained in:
parent
e9d6c27f64
commit
3eb00b491f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user