diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-01-22 21:46:27 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-01-23 00:03:48 +0000 |
commit | 9cb45abb050c27935a2f70e9ba18c8766c9a07a0 (patch) | |
tree | 1cf170e1f90aa2dbc5b99b79e020837dee046c4b /etc | |
parent | 6699b0aec6d9b897d659c3ec58b61d4b0ca07a20 (diff) | |
download | pfsense-9cb45abb050c27935a2f70e9ba18c8766c9a07a0.zip pfsense-9cb45abb050c27935a2f70e9ba18c8766c9a07a0.tar.gz |
Now ppp support interface renaming so there is no need for this.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 6a38767..c867cf0 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2348,18 +2348,6 @@ function get_real_interface($interface = "wan") { if ($interface == $if || $interface == $ifdesc) { - // PPP Support - if($config['interfaces'][$if]['serialport']) { - $dev = $config['interfaces'][$if]['serialport']; - if(file_exists("/var/run/{$dev}.if")) { - $wanif = trim(file_get_contents("/var/run/{$dev}.if")); - break; - } else { - $wanif = $dev; - break; - } - } - $cfg = $config['interfaces'][$if]; // Wireless cloned NIC support (FreeBSD 8+) |