1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 09:29:01 +00:00

Spellcheck for Ncat, Nping source files

This commit is contained in:
dmiller
2014-02-20 21:22:22 +00:00
parent 3f0d0c16f9
commit 1575c63d7d
36 changed files with 77 additions and 77 deletions

View File

@@ -1,7 +1,7 @@
/***************************************************************************
* common_modified.cc -- This file holds all those functions and classes *
* that have been reused from nmap's code but that needed to be modified *
* that have been reused from Nmap's code but that needed to be modified *
* in order to reuse them. *
* *
***********************IMPORTANT NMAP LICENSE TERMS************************
@@ -152,7 +152,7 @@ void TargetGroup::Initialize() {
}
/* take the object back to the beginning without (mdmcl)
* reinitalizing the data structures */
* reinitializing the data structures */
int TargetGroup::rewind() {
/* For netmasks we must set the current address to the
@@ -178,7 +178,7 @@ int TargetGroup::rewind() {
}
#if HAVE_IPV6
/* For IPV6 there is only one address, this function doesn't
* make much sence for IPv6 does it? */
* make much sense for IPv6 does it? */
else if (targets_type == IPV6_ADDRESS) {
ipsleft = 1;
return 0;
@@ -216,7 +216,7 @@ int TargetGroup::skip_range(_octet_nums octet) {
oct = 2;
hosts_skipped = (last[3] + 1);
break;
default: /* Hmm, how'd you do that */
default: /* Hmm, how did you do that? */
return -1;
}
@@ -456,7 +456,7 @@ int TargetGroup::parse_expr(const char * const target_expr, int af) {
* I haven't been able to find any problem with that code but
* still, the fact that DNS queries are cached does not improve
* performance a lot. It may save one DNS query per execution
* in those cases wher NpingOps::validateOptions() grabs the
* in those cases where NpingOps::validateOptions() grabs the
* first target and uses it to determine output network interface.
* It would also save some queries in the case where a user
* specified the same host twice in the commandlined, something
@@ -803,7 +803,7 @@ void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int *portwarning)
/* IPv6 compatible version of nmap's devname2ipaddr()
/* IPv6 compatible version of Nmap's devname2ipaddr()
* @warning For this to work we need getinterfaces() not to skip IPv6 */
int devname2ipaddr_alt(char *dev, struct sockaddr_storage *addr) {
struct interface_info *mydevs;