summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-04-21 19:42:22 +0200
committerErmal LUÇI <eri@pfsense.org>2015-04-21 19:42:22 +0200
commit1f5ac93743678a264955eecd13e82ffa5fdda39d (patch)
treecddf10091bd173c13ff26e8d0d9fcaeec89b9cec /etc
parentbe2191afa52acb59f94bdecf986b67e069482a14 (diff)
parent9cf1dbff3a5db933bed6159ecb5b3429d6ac5ff8 (diff)
downloadpfsense-1f5ac93743678a264955eecd13e82ffa5fdda39d.zip
pfsense-1f5ac93743678a264955eecd13e82ffa5fdda39d.tar.gz
Merge pull request #1626 from gogglespisano/apinger
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 745d196..0b3e3df 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -5425,11 +5425,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:
@@ -5454,7 +5453,7 @@ function interface_has_gateway($friendly) {
case "pppoe":
case "pptp":
case "l2tp":
- case "ppp";
+ case "ppp":
return true;
break;
default:
OpenPOWER on IntegriCloud