summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-10-01 15:29:53 +0000
committerErmal Luçi <eri@pfsense.org>2009-10-01 15:29:53 +0000
commitd5b42e6f781721a1f7d6138b806cac9cb11e2d91 (patch)
treec02319beb9ef80890ea038654dd8ac56ce025bab /usr/local/www/firewall_virtual_ip_edit.php
parentabcb2bed927c18f29b12972f023b253c703132d1 (diff)
downloadpfsense-d5b42e6f781721a1f7d6138b806cac9cb11e2d91.zip
pfsense-d5b42e6f781721a1f7d6138b806cac9cb11e2d91.tar.gz
Missed improvement.
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index efe82fb..ed381f5 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -202,7 +202,8 @@ if ($_POST) {
mark_subsystem_dirty('vip');
write_config();
-
+ if (!$id)
+ $id = count($a_vip) - 1;
header("Location: firewall_virtual_ip.php?changes=mods&id={$id}");
exit;
}
OpenPOWER on IntegriCloud