1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Comment typo.

This commit is contained in:
david
2012-07-24 00:23:58 +00:00
parent 8025ba5a5a
commit df55d1380a

View File

@@ -3112,7 +3112,7 @@ static int route_dst_netlink(const struct sockaddr_storage *dst,
if (rtattr->rta_type == RTA_GATEWAY) {
rc = set_sockaddr(&rnfo->nexthop, rtmsg->rtm_family, RTA_DATA(rtattr));
assert(rc != -1);
/* Don't consider it directly connected if nexthop == dst. */
/* Don't consider it directly connected if nexthop != dst. */
if (!sockaddr_storage_equal(dst, &rnfo->nexthop))
rnfo->direct_connect = 0;
} else if (rtattr->rta_type == RTA_OIF && ii == NULL) {