summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-07-15 00:08:45 -0500
committerChris Buechler <cmb@pfsense.org>2016-07-15 00:08:45 -0500
commit258f1f112bf01b6f30ec5466b72ea142895c1f0c (patch)
treec4b3467d48c7c33aca4532f5cdca7c64232cf0e5 /src
parent47e3809d179e5dffb3654dcb0eb2e791058930e7 (diff)
downloadpfsense-258f1f112bf01b6f30ec5466b72ea142895c1f0c.zip
pfsense-258f1f112bf01b6f30ec5466b72ea142895c1f0c.tar.gz
Bring back the "set iface route default" used in 2.2.6 and earlier versions, which works around the root problem in Ticket #6495
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/interfaces.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index b6c6efe..88d3cec 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -1795,7 +1795,10 @@ EOD;
}
/* Omit this, we maintain the default route by other means, and it causes problems with
- * default gateway switching. See redmine #1837
+ * default gateway switching. See redmine #1837 for original issue
+ * re-enabling this for now to fix issue with missing default gateway with PPPoE in some
+ * edge case. redmine #6495 open to address.
+ */
if (($interface == "wan" && $founddefaultgw == false) || $setdefaultgw == true) {
$setdefaultgw = true;
$mpdconf .= <<<EOD
@@ -1803,7 +1806,6 @@ EOD;
EOD;
}
-*/
$mpdconf .= <<<EOD
set iface {$ondemand} on-demand
set iface idle {$ppp['idletimeout']}
OpenPOWER on IntegriCloud