summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-23 13:10:13 +0000
committerErmal <eri@pfsense.org>2011-03-23 13:10:13 +0000
commitd421e31930e8fc036b70eb0af4fc08872147fb75 (patch)
treec53d6853ca5aa9d48d4abbbfbd007f12e5b17f51 /etc/inc/interfaces.inc
parent004cb7c584c2f50ebac3da3ee1c2f4c180de4ac0 (diff)
downloadpfsense-d421e31930e8fc036b70eb0af4fc08872147fb75.zip
pfsense-d421e31930e8fc036b70eb0af4fc08872147fb75.tar.gz
Do not error out for pptp/l2tp localip setting not set since its legitimate.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a77218c..079b8bc 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1215,8 +1215,8 @@ function interface_ppps_configure($interface) {
$localips[$pid] = get_interface_ip($port); // try to get the interface IP from the port
if(!is_ipaddr($localips[$pid])){
- log_error("Could not get a Local IP address for PPTP/L2TP link on {$port} in interfaces_ppps_configure.");
- return 0;
+ 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 ) */
@@ -1492,7 +1492,6 @@ EOD;
$mpdconf .= <<<EOD
set {$type} self {$localips[$pid]}
set {$type} peer {$gateways[$pid]}
- set {$type} disable windowing
EOD;
}
OpenPOWER on IntegriCloud