diff --git a/lib/SimpleSAML/Utils/Net.php b/lib/SimpleSAML/Utils/Net.php
index 9c8e0df2edae43a9d9df56705cf627941014d441..1ae6cedbd074436de0c2197467d57f6d47f9dfeb 100644
--- a/lib/SimpleSAML/Utils/Net.php
+++ b/lib/SimpleSAML/Utils/Net.php
@@ -23,7 +23,7 @@ class Net
      * @author Brook Schofield, GÉANT
      * @author Jaime Perez, UNINETT AS <jaime.perez@uninett.no>
      */
-    static function ipCIDRcheck($cidr, $ip = null)
+    public static function ipCIDRcheck($cidr, $ip = null)
     {
         if ($ip === null) {
             $ip = $_SERVER['REMOTE_ADDR'];