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:
@@ -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 */
|
||||
|
||||
4
tcpip.cc
4
tcpip.cc
@@ -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() */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user