mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
routing, fix setting the default-route when the configured default gateway is a dynamic pppoe gateway
This commit is contained in:
parent
f54ca2e14f
commit
561077c71d
@ -183,7 +183,7 @@ if (!empty($gre)) {
|
||||
}
|
||||
}
|
||||
|
||||
if (platform_booting() && in_array(substr($interface_real, 0, 3), array("ppp", "ppt", "l2t"))) {
|
||||
if (platform_booting() && !in_array(substr($interface_real, 0, 3), array("ppp", "ppt", "l2t"))) {
|
||||
// unlike dhcp interfaces which wait until they get an ip, a ppp connection lets the boot continue while
|
||||
// trying to aquire a ip address so to avoid a race condition where it would be possible that the default
|
||||
// route would not be set, this script must continue to use the new assigned ip even while booting
|
||||
|
||||
Loading…
Reference in New Issue
Block a user