diff --git a/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php b/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php index 5722543d9..b44e91c76 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php +++ b/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php @@ -124,7 +124,7 @@ class Util * @param boolean $allow_range ranges allowed * @return boolean */ - public function isPort($number, $allow_range = true) + public static function isPort($number, $allow_range = true) { $tmp = explode(':', $number); foreach ($tmp as $port) {