diff options
author | Bill Marquette <billm@pfsense.org> | 2005-06-05 21:23:31 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-06-05 21:23:31 +0000 |
commit | a6713b327538115bd02c91d3b833f1e62cec6793 (patch) | |
tree | c2d40405429104b4480849262fdd2554b84a83c6 /usr/local/www/firewall_nat_edit.php | |
parent | 5c6bef5b80a555bdc2819b829354565f19754f1c (diff) | |
download | pfsense-a6713b327538115bd02c91d3b833f1e62cec6793.zip pfsense-a6713b327538115bd02c91d3b833f1e62cec6793.tar.gz |
Fix nat rule dup so we really create a new rule instead of just editing the current one.
Reported-By: Criggie
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index f67d5e6..4536553 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -61,6 +61,9 @@ if (isset($id) && $a_nat[$id]) { $pconfig['interface'] = "wan"; } +if (isset($_GET['dup'])) + unset($id); + if ($_POST) { if ($_POST['beginport_cust'] && !$_POST['beginport']) |