1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 21:09:00 +00:00

Use sockaddr_storage_equal in place of sockaddr_storage_cmp where

appropriate.
This commit is contained in:
david
2011-05-07 00:50:54 +00:00
parent eb7202d45c
commit a2e58b4875
3 changed files with 5 additions and 5 deletions

View File

@@ -2055,7 +2055,7 @@ static void printtraceroute_normal(Target *currenths) {
sslen = sizeof(addr);
currenths->TargetSockAddr(&addr, &sslen);
while (it != currenths->traceroute_hops.end()
&& sockaddr_storage_cmp(&it->tag, &addr) != 0) {
&& !sockaddr_storage_equal(&it->tag, &addr)) {
shared_hop = &*it;
it++;
}