diff options
author | Luca Deri <deri@ntop.org> | 2025-01-17 19:20:45 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2025-01-17 19:20:45 +0100 |
commit | 1bda2a26507b0516a618c144546c310897d2b06b (patch) | |
tree | aaa0d63ec714fd56faa7b066dad52363d2238432 /src/lib/protocols | |
parent | f1c62ca720e1cd9697f7b56314f7040ec21df540 (diff) |
Renamed ips_match to ndpi_ips_match
Diffstat (limited to 'src/lib/protocols')
-rw-r--r-- | src/lib/protocols/starcraft.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/protocols/starcraft.c b/src/lib/protocols/starcraft.c index a4d130e8e..9e87ea2c8 100644 --- a/src/lib/protocols/starcraft.c +++ b/src/lib/protocols/starcraft.c @@ -35,11 +35,11 @@ static u_int8_t sc2_match_logon_ip(struct ndpi_packet_struct* packet) u_int32_t source_ip = ntohl(packet->iph->saddr); u_int32_t dest_ip = ntohl(packet->iph->daddr); - return (ips_match(source_ip, dest_ip, 0xD5F87F82, 32) // EU 213.248.127.130 - || ips_match(source_ip, dest_ip, 0x0C81CE82, 32) // US 12.129.206.130 - || ips_match(source_ip, dest_ip, 0x79FEC882, 32) // KR 121.254.200.130 - || ips_match(source_ip, dest_ip, 0xCA09424C, 32) // SG 202.9.66.76 - || ips_match(source_ip, dest_ip, 0x0C81ECFE, 32)); // BETA 12.129.236.254 + return (ndpi_ips_match(source_ip, dest_ip, 0xD5F87F82, 32) // EU 213.248.127.130 + || ndpi_ips_match(source_ip, dest_ip, 0x0C81CE82, 32) // US 12.129.206.130 + || ndpi_ips_match(source_ip, dest_ip, 0x79FEC882, 32) // KR 121.254.200.130 + || ndpi_ips_match(source_ip, dest_ip, 0xCA09424C, 32) // SG 202.9.66.76 + || ndpi_ips_match(source_ip, dest_ip, 0x0C81ECFE, 32)); // BETA 12.129.236.254 } /* |