diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-19 22:02:42 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-19 22:02:42 +0545 |
commit | d590a670aa1eede9854b6d5b59efc95554080c39 (patch) | |
tree | 9a9e1be1c9ae5d040853eb8215a331ffacbd1191 /src/usr/local/www/firewall_nat_npt_edit.php | |
parent | 493d292fc98f6f1bdd2979fe3f9748b26a7d6f88 (diff) | |
download | pfsense-d590a670aa1eede9854b6d5b59efc95554080c39.zip pfsense-d590a670aa1eede9854b6d5b59efc95554080c39.tar.gz |
Provide "add top" and "add bottom" buttons for NAT 1:1 and NPt
So that they are consistent with NAT Port Forward.
Diffstat (limited to 'src/usr/local/www/firewall_nat_npt_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_npt_edit.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_nat_npt_edit.php b/src/usr/local/www/firewall_nat_npt_edit.php index 4025605..249159e 100644 --- a/src/usr/local/www/firewall_nat_npt_edit.php +++ b/src/usr/local/www/firewall_nat_npt_edit.php @@ -88,6 +88,11 @@ if (isset($_POST['id']) && is_numericint($_POST['id'])) { $id = $_POST['id']; } +$after = $_GET['after']; +if (isset($_POST['after'])) { + $after = $_POST['after']; +} + if (isset($_GET['dup'])) { $id = $_GET['dup']; $after = $_GET['dup']; |