diff options
author | Phil Davis <phil.davis@inf.org> | 2017-03-26 13:44:27 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-03-26 13:44:27 +0545 |
commit | 4081ecacd6caa61a182c7db3723a22b0a3113f64 (patch) | |
tree | 09864fe20a6d14e35fdb9f0638f7614fef5c5f26 /src/usr/local/www/firewall_aliases_edit.php | |
parent | dd844c430622fa68de1f868b62ec375d7131ce16 (diff) | |
download | pfsense-4081ecacd6caa61a182c7db3723a22b0a3113f64.zip pfsense-4081ecacd6caa61a182c7db3723a22b0a3113f64.tar.gz |
Provide functions for checking port range alias combinations
Diffstat (limited to 'src/usr/local/www/firewall_aliases_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_aliases_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_aliases_edit.php b/src/usr/local/www/firewall_aliases_edit.php index de2d201..c73aa3b 100644 --- a/src/usr/local/www/firewall_aliases_edit.php +++ b/src/usr/local/www/firewall_aliases_edit.php @@ -429,7 +429,7 @@ if ($_POST['save']) { } } } else if ($_POST['type'] == "port") { - if (!is_port($input_address) && !is_portrange($input_address)) { + if (!is_portorrange($input_address)) { $input_errors[] = sprintf(gettext("%s is not a valid port or alias."), $input_address); } } else if ($_POST['type'] == "host" || $_POST['type'] == "network") { |