summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-11 21:49:02 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-11 21:49:02 +0000
commita72d04b325daee366d209f7dd525e0840e8c5d04 (patch)
tree12fd8e31f37085e8ac48505fa55d70a02d9d10c1 /etc
parentf4758c47ef229983b9d01e846ddae2f7941c4ef2 (diff)
downloadpfsense-a72d04b325daee366d209f7dd525e0840e8c5d04.zip
pfsense-a72d04b325daee366d209f7dd525e0840e8c5d04.tar.gz
Remove the ppp hack from filter_translate_type_to_real_interface we know better now.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index b36bf50..2f3c171 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1450,13 +1450,11 @@ function find_ip_interface($ip) {
}
/*
- * filter_translate_type_to_real_interface($interface): returns the real interface name
- * for a friendly interface. ie: wan
+ * filter_translate_type_to_real_interface($interface):
+ * returns the real hardware interface name for a friendly interface. ie: wan
*/
function filter_translate_type_to_real_interface($interface) {
global $config;
- if(isset($config['interfaces'][$interface]['pointtopoint']))
- return "ppp0";
if($config['interfaces'][$interface]['if'] <> "") {
return $config['interfaces'][$interface]['if'];
} else {
OpenPOWER on IntegriCloud