mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: state experiment for #7027
PR: https://github.com/opnsense/core/issues/7635#issuecomment-2462066123
This commit is contained in:
parent
671f4d4415
commit
73e837d7d3
@ -109,6 +109,7 @@ filter_configure_sync();
|
||||
if (is_ipaddr($cacheip) && $ip != $cacheip) {
|
||||
log_msg("IP address change detected, killing states of old ip $cacheip");
|
||||
mwexecf('/sbin/pfctl -k 0.0.0.0/0 -k %s', $cacheip);
|
||||
mwexecf('/sbin/pfctl -k gateway -k %s', $cacheip);
|
||||
mwexecf('/sbin/pfctl -k %s', $cacheip);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user