1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-24 15:19:03 +00:00

just fixing some spelling errors in comments

This commit is contained in:
kris
2007-11-03 03:54:11 +00:00
parent 50c4981934
commit 4cd9fa160d
2 changed files with 5 additions and 5 deletions

View File

@@ -120,7 +120,7 @@ void TargetGroup::Initialize() {
ipsleft = 0;
}
/* take the object back to the begining without (mdmcl)
/* take the object back to the beginning without (mdmcl)
* reinitalizing the data structures */
int TargetGroup::rewind() {
@@ -355,14 +355,14 @@ int TargetGroup::skip_range(_octet_nums octet) {
current[i] = 0;
}
/* we actauly don't skip the current, it was accounted for
/* we actually don't skip the current, it was accounted for
* by get_next_host */
ipsleft -= hosts_skipped - 1;
return hosts_skipped;
}
/* Grab the next host from this expression (if any) and uptdates its internal
/* Grab the next host from this expression (if any) and updates its internal
state to reflect that the IP was given out. Returns 0 and
fills in ss if successful. ss must point to a pre-allocated
sockaddr_storage structure */

View File

@@ -1210,7 +1210,7 @@ if (window)
tcp->th_win = htons(window);
else tcp->th_win = htons(1024 * (myttl % 4 + 1)); /* Who cares */
/* Urgend pointer */
/* Urgent pointer */
if (urp)
tcp->th_urp = htons(urp);
@@ -1877,7 +1877,7 @@ int pcap_select(pcap_t *p, long usecs)
}
/* Read an IP packet using libpcap . We return the packet and take
a pcap descripter and a pointer to the packet length (which we set
a pcap descriptor and a pointer to the packet length (which we set
in the function. If you want a maximum length returned, you
should specify that in pcap_open_live() */