diff options
author | Ermal <eri@pfsense.org> | 2013-02-13 21:58:37 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-02-13 21:58:52 +0000 |
commit | c7ada9743fd797af7a7c719929db3ab3e0b4870c (patch) | |
tree | d8e690b1701b3c4714a4c9a6746d875b71af690c /etc/inc | |
parent | 1b584e3ff3dd70d05668fce32b257cecd6ed780b (diff) | |
download | pfsense-c7ada9743fd797af7a7c719929db3ab3e0b4870c.zip pfsense-c7ada9743fd797af7a7c719929db3ab3e0b4870c.tar.gz |
Remove dead code
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 20a2a9b..8d4faf7 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1460,17 +1460,6 @@ function interface_ppps_configure($interface) { log_error("Could not get a Local IP address for PPTP/L2TP link on {$port} in interfaces_ppps_configure. Using 0.0.0.0 ip!"); $localips[$pid] = "0.0.0.0"; } - /* XXX: This needs to go away soon! [It's commented out!] */ - /* Configure the gateway (remote IP ) */ - if (!$g['booting'] && !is_ipaddr($gateways[$pid]) && is_hostname($gateways[$pid])) { - /* XXX: Fix later - $gateways[$pid] = gethostbyname($gateways[$pid]); - if(!is_ipaddr($gateways[$pid])) { - log_error("Could not get a valid Gateway IP from {$port} via DNS in interfaces_ppps_configure."); - return 0; - } - */ - } if(!is_ipaddr($gateways[$pid])){ log_error(sprintf(gettext('Could not get a PPTP/L2TP Remote IP address from %1$s for %2$s in interfaces_ppps_configure.'), $dhcp_gateway, $gway)); return 0; |