std::string name, ident, host, domain, reason;
EnumBanaction banaction;
EnumType type;
- long duration;
+ unsigned long duration;
unsigned int bitmask;
unsigned char records[256];
unsigned long stats_hits, stats_misses;
};
-/** Resolver for CGI:IRC hostnames encoded in ident/GECOS
+/** Resolver for CGI:IRC hostnames encoded in ident/real name
*/
class DNSBLResolver : public DNS::Request
{
if (tag->getString("type") == "bitmask")
{
e->type = DNSBLConfEntry::A_BITMASK;
- e->bitmask = tag->getInt("bitmask", 0, 0, UINT_MAX);
+ e->bitmask = tag->getUInt("bitmask", 0, 0, UINT_MAX);
}
else
{