diff --git a/src/www/firewall_virtual_ip.php b/src/www/firewall_virtual_ip.php index 7460795e2..a5a15493f 100644 --- a/src/www/firewall_virtual_ip.php +++ b/src/www/firewall_virtual_ip.php @@ -195,7 +195,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { // move selected rules if (!isset($id)) { // if rule not set/found, move to end - $id = count($a_nat); + $id = count($a_vip); } $a_vip = legacy_move_config_list_items($a_vip, $id, $pconfig['rule']); write_config(); @@ -222,7 +222,7 @@ $main_buttons = array( // delete single BootstrapDialog.show({ type:BootstrapDialog.TYPE_INFO, - title: "= gettext("Alias");?>", + title: "= gettext("Virtual IP");?>", message: "=gettext("Do you really want to delete this entry?");?>", buttons: [{ label: "= gettext("No");?>", @@ -308,13 +308,13 @@ $main_buttons = array( =htmlspecialchars($vipent['descr']);?>