From 4081ecacd6caa61a182c7db3723a22b0a3113f64 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 26 Mar 2017 13:44:27 +0545 Subject: Provide functions for checking port range alias combinations --- src/etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etc/inc/pfsense-utils.inc') diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index 3e9767e..83b2f5a 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -2153,7 +2153,7 @@ function parse_aliases_file($filename, $type = "url", $max_items = -1, $kflc = f $tmp = $tmp_str; } $valid = (($type == "url" || $type == "urltable") && (is_ipaddr($tmp) || is_subnet($tmp))) || - (($type == "url_ports" || $type == "urltable_ports") && (is_port($tmp) || is_portrange($tmp))); + (($type == "url_ports" || $type == "urltable_ports") && is_portorrange($tmp)); if ($valid) { $items[] = $tmp; if (count($items) == $max_items) { -- cgit v1.1