mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge manually pull request #1626 to this branch
This commit is contained in:
parent
e1bcb659be
commit
26b94b874f
@ -4941,11 +4941,10 @@ function get_interfaces_with_gateway() {
|
||||
foreach($config['interfaces'] as $ifdescr => $ifname) {
|
||||
switch ($ifname['ipaddr']) {
|
||||
case "dhcp":
|
||||
case "ppp";
|
||||
case "pppoe":
|
||||
case "pptp":
|
||||
case "l2tp":
|
||||
case "ppp";
|
||||
case "ppp":
|
||||
$ints[$ifdescr] = $ifdescr;
|
||||
break;
|
||||
default:
|
||||
@ -4969,7 +4968,7 @@ function interface_has_gateway($friendly) {
|
||||
case "pppoe":
|
||||
case "pptp":
|
||||
case "l2tp":
|
||||
case "ppp";
|
||||
case "ppp":
|
||||
return true;
|
||||
break;
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user