summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2016-12-20 12:05:54 -0500
committerSteve Beaver <sbeaver@netgate.com>2016-12-20 12:05:54 -0500
commitec38ba8b47a79de234edde3ac912f93fcdcb8a58 (patch)
tree6959e8a845cfd5b3f20c00df14ce2a62b96e9d05
parent3d4c51e4a6e50888960408ff2d7cba7a01de02f4 (diff)
parent13cf61ba2c7ab5c9029ba40606e27e71075ef8ac (diff)
downloadpfsense-ec38ba8b47a79de234edde3ac912f93fcdcb8a58.zip
pfsense-ec38ba8b47a79de234edde3ac912f93fcdcb8a58.tar.gz
Merge pull request #3299 from phil-davis/patch-8
-rw-r--r--src/usr/local/www/firewall_nat_1to1_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php
index e763aa7..b127706 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -207,7 +207,7 @@ if ($_POST) {
if (!is_specialnet($_POST['dsttype'])) {
if ($_POST['dst']) {
$dstipaddrtype = validateipaddr($_POST['dst'], IPV4V6, "Destination address", $input_errors, true);
- if ($dstipaddrtype == 1) {
+ if ($dstipaddrtype == ALIAS) {
// It is an alias.
// pf does not report "error loading rules" if the address family of items in the alias does not match the external/internal address family.
// So that is up to the user to make sensible, we do not try and verify it here.
OpenPOWER on IntegriCloud