Skip to content

Commit

Permalink
Fixed a regression in DNS filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Revertron committed Apr 28, 2021
1 parent 50b7d26 commit d9e9d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl DnsFilter for BlockchainFilter {
let zone = parts[0].to_owned();
match data {
None => {
if self.context.lock().unwrap().chain.is_zone_in_blockchain(u64::MAX, &zone) {
if self.context.lock().unwrap().chain.is_zone_in_blockchain(i64::MAX as u64, &zone) {
trace!("Not found data for domain {}", &search);
// Create DnsPacket
let mut packet = DnsPacket::new();
Expand Down

0 comments on commit d9e9d53

Please sign in to comment.