Skip to content

Commit

Permalink
Do not delay a null response from foreign dns.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpktpoetkxwz committed Feb 3, 2015
1 parent e661919 commit 9f2f7f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chinadns.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,8 @@ static int should_filter_query(ns_msg msg, struct in_addr dns_addr) {
// Wait for foreign dns
if (dns_is_chn) {
return 1;
} else {
return 0;
}
}
return -1;
Expand Down

0 comments on commit 9f2f7f4

Please sign in to comment.