diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-04-21 19:42:22 +0200 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-04-21 19:42:22 +0200 |
commit | 1f5ac93743678a264955eecd13e82ffa5fdda39d (patch) | |
tree | cddf10091bd173c13ff26e8d0d9fcaeec89b9cec /etc | |
parent | be2191afa52acb59f94bdecf986b67e069482a14 (diff) | |
parent | 9cf1dbff3a5db933bed6159ecb5b3429d6ac5ff8 (diff) | |
download | pfsense-1f5ac93743678a264955eecd13e82ffa5fdda39d.zip pfsense-1f5ac93743678a264955eecd13e82ffa5fdda39d.tar.gz |
Merge pull request #1626 from gogglespisano/apinger
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 5 |
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: |