Skip to content
Snippets Groups Projects
Commit 17450243 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix bug with CIDR hinting

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@355 44740490-163a-0410-bde0-09ae8108e29a
parent 7c264e8d
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ abstract class SimpleSAML_Metadata_MetaDataStorageSource { ...@@ -113,7 +113,7 @@ abstract class SimpleSAML_Metadata_MetaDataStorageSource {
if(!is_array($entry['hint.cidr'])) continue; if(!is_array($entry['hint.cidr'])) continue;
foreach ($entry['hint.cidr'] AS $hint_entry) { foreach ($entry['hint.cidr'] AS $hint_entry) {
if (ipCIDRcheck($hint_entry, $ip)) if (SimpleSAML_Utilities::ipCIDRcheck($hint_entry, $ip))
return $entityId; return $entityId;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment