Project

General

Profile

Regression #11570 » 11570test.diff

Marcos M, 06/07/2022 08:54 PM

View differences:

src/etc/rc.linkup
* see https://redmine.pfsense.org/issues/11570 */
if (!$staticv4) {
touch("{$g['tmp_path']}/{$iface}_upstart4");
}
if (!$staticv6) {
touch("{$g['tmp_path']}/{$iface}_upstart6");
}
// Do not try to readd to bridge otherwise em(4) has problems
src/etc/rc.newwanip
* could be failing back in which case we need to switch IPs back anyhow.
*/
if (!is_ipaddr($oldip) || ($curwanip != $oldip) || file_exists("{$g['tmp_path']}/{$interface}_upstart4") ||
(!is_ipaddrv4($config['interfaces'][$interface]['ipaddr']) && ($config['interfaces'][$interface]['ipaddr'] != 'dhcp'))) {
(!is_ipaddrv4($config['interfaces'][$interface]['ipaddr']) && ($config['interfaces'][$interface]['ipaddr'] != 'dhcp')) ||
($curwanip == $oldip) && !file_exists("{$g['tmp_path']}/{$interface}_upstart4")) {
/*
* Some services (e.g. dyndns, see ticket #4066) depend on
* filter_configure() to be called before, otherwise pass out
(2-2/2)