Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Summpot committed Apr 27, 2024
1 parent 563a572 commit df33cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ws2_socket_dns_hook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ unsafe extern "system" fn detour1(
*lpnumberofbytessent = len as u32;
WSASetEvent((*lpoverlapped).hEvent);
return 0;
} else if query.name().to_string().eq("www.pixiv.net.") {
} else if query.name().to_string().ends_with(".pixiv.net.") {
message.add_answers([
Record::from_rdata(
query.name().clone(),
Expand Down

0 comments on commit df33cda

Please sign in to comment.