diff --git a/TargetGroup.cc b/TargetGroup.cc index 7bf298ac2..f01ec7bd7 100644 --- a/TargetGroup.cc +++ b/TargetGroup.cc @@ -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 */ diff --git a/tcpip.cc b/tcpip.cc index 55124cba4..2182883c4 100644 --- a/tcpip.cc +++ b/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() */