mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Comment typo.
This commit is contained in:
@@ -3112,7 +3112,7 @@ static int route_dst_netlink(const struct sockaddr_storage *dst,
|
|||||||
if (rtattr->rta_type == RTA_GATEWAY) {
|
if (rtattr->rta_type == RTA_GATEWAY) {
|
||||||
rc = set_sockaddr(&rnfo->nexthop, rtmsg->rtm_family, RTA_DATA(rtattr));
|
rc = set_sockaddr(&rnfo->nexthop, rtmsg->rtm_family, RTA_DATA(rtattr));
|
||||||
assert(rc != -1);
|
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))
|
if (!sockaddr_storage_equal(dst, &rnfo->nexthop))
|
||||||
rnfo->direct_connect = 0;
|
rnfo->direct_connect = 0;
|
||||||
} else if (rtattr->rta_type == RTA_OIF && ii == NULL) {
|
} else if (rtattr->rta_type == RTA_OIF && ii == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user