constraints stores network order; we want to return host order

This commit is contained in:
Eric committed 2013-10-03 02:48:46 -04:00
1 parent 408e46d939
commit 3aa0f27b51
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@
static constraint_t *constraint = NULL;
uint32_t blacklist_lookup_index(uint64_t index) {
return constraint_lookup_index(constraint, index, ADDR_ALLOWED);
return ntohl(constraint_lookup_index(constraint, index, ADDR_ALLOWED));
}
// check whether a single IP address is allowed to be scanned.