Fix PTR issue

This commit is contained in:
Nick Peng
2019-02-16 22:42:12 +08:00
parent 9f3926e048
commit 21ba047075
3 changed files with 5 additions and 5 deletions

View File

@@ -1217,7 +1217,7 @@ static int _dns_server_process_ptr(struct dns_request *request, struct dns_packe
}
}
if (strstr(request->domain, "0.0.0.0") != NULL) {
if (strstr(request->domain, "0.0.0.0.in-addr.arpa") != NULL) {
found = 1;
}