1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-23 16:09:02 +00:00

Comment typo.

This commit is contained in:
david
2011-11-27 19:50:17 +00:00
parent 95af3f1937
commit 02ff5e83b6

View File

@@ -1190,8 +1190,8 @@ static int nmaskcmp(const void *a, const void *b) {
/* Convert an address to a string and back again. The first parsing step /* Convert an address to a string and back again. The first parsing step
eliminates magical OS-specific syntax, for example on OS X, fe80:4::X:X:X:X eliminates magical OS-specific syntax, for example on OS X, fe80:4::X:X:X:X
becomes "fe80::X:X:X:X" (the "4" in this case is another way of writing the becomes "fe80::X:X:X:X" (the "4" in this case is another way of writing the
zone ID, like "%en0"; i.e., in this case en0 is interface number 4. This must zone ID, like "%en0"; i.e., in this case en0 is interface number 4). This
be done before e.g. comparing addresses by netmask. */ must be done before e.g. comparing addresses by netmask. */
static int canonicalize_address(const struct sockaddr_storage *ss, static int canonicalize_address(const struct sockaddr_storage *ss,
struct sockaddr_storage *output) { struct sockaddr_storage *output) {
char canonical_ip_string[NI_MAXHOST]; char canonical_ip_string[NI_MAXHOST];