Commit 072bc535 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: try to fix default route on pppoe with multi-wan

(cherry picked from commit c3f34c2b)
parent 7534a34f
......@@ -1528,7 +1528,7 @@ EOD;
}
}
if (($interface == "wan" && $founddefaultgw == false) || $setdefaultgw == true) {
if (!$founddefaultgw || $setdefaultgw) {
$mpdconf .= " set iface route default\n";
}
if (isset($ppp['ondemand'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment