summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
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:09:17 -0500
commit5bd2dd834b8717b90e712a84b4ab1892a2b504d6 (patch)
treeb15e527cb801d82603975f963bd9698167928381 /src/etc/inc/interfaces.inc
parent42f47efc51e826d06f7f968b441e200846da4e26 (diff)
downloadpfsense-5bd2dd834b8717b90e712a84b4ab1892a2b504d6.zip
pfsense-5bd2dd834b8717b90e712a84b4ab1892a2b504d6.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/etc/inc/interfaces.inc')
-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 d90fdaa..621869d 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