summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-04-21 19:43:20 +0200
committerErmal LUÇI <eri@pfsense.org>2015-04-21 19:43:20 +0200
commit26b94b874f0c635e16ea6433dbb04a20e52607aa (patch)
tree1208b3c45f549d019fb27441ce47aee896f20b6d /etc
parente1bcb659bec75cfed3df987013f16258be41494a (diff)
downloadpfsense-26b94b874f0c635e16ea6433dbb04a20e52607aa.zip
pfsense-26b94b874f0c635e16ea6433dbb04a20e52607aa.tar.gz
Merge manually pull request #1626 to this branch
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index dbfbda7..e9f1c65 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -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:
OpenPOWER on IntegriCloud