Skip to content

Commit

Permalink
DNS mismatch false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
veniware committed Mar 15, 2024
1 parent 04b5dec commit 5d74ab3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Protest/Tools/LiveStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ firstAlive is not null &&
string[] ips = _ip?.value.Split(';').Select(o => o.Trim()).ToArray() ?? Array.Empty<string>();

for (int i = 0; i < hostnames.Length; i++) {
if (String.IsNullOrEmpty(hostnames[i])) { continue; }

try {
IPAddress[] reversed = System.Net.Dns.GetHostAddresses(hostnames[i]);
for (int j = 0; j < reversed.Length; j++) {
Expand Down

0 comments on commit 5d74ab3

Please sign in to comment.