diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-04-21 19:43:20 +0200 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-04-21 19:43:20 +0200 |
commit | 26b94b874f0c635e16ea6433dbb04a20e52607aa (patch) | |
tree | 1208b3c45f549d019fb27441ce47aee896f20b6d /etc | |
parent | e1bcb659bec75cfed3df987013f16258be41494a (diff) | |
download | pfsense-26b94b874f0c635e16ea6433dbb04a20e52607aa.zip pfsense-26b94b874f0c635e16ea6433dbb04a20e52607aa.tar.gz |
Merge manually pull request #1626 to this branch
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 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: |