mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Woops, only reboot on carp entries.
This commit is contained in:
parent
551b893e94
commit
2de844ec0d
@ -53,8 +53,8 @@ if ($_GET['act'] == "del") {
|
||||
if($rule['external-address'] <> "") {
|
||||
if ($rule['external-address'] == $a_vip[$_GET['id']]['ipaddr']) {
|
||||
$input_errors[] = "This entry cannot be deleted because it is still referenced by at least one NAT mapping.";
|
||||
|
||||
unlink("/tmp/carp_reboot_needed");
|
||||
if($rule['mode'] == "carp")
|
||||
unlink("/tmp/carp_reboot_needed");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user