mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Spellcheck: common misspellings in the entire source tree
This commit is contained in:
parent
3f5e909e8f
commit
ddcfa8cc90
38 changed files with 52 additions and 52 deletions
|
|
@ -665,7 +665,7 @@ int IPv4Header::setOpts(const char *txt){
|
|||
int IPv4Header::setOpts(u8 *opts_buff, u32 opts_len){
|
||||
if(opts_buff==NULL || opts_len==0)
|
||||
return OP_FAILURE;
|
||||
assert(opts_len<=MAX_IP_OPTIONS_LEN); /* Max lenght for IP options */
|
||||
assert(opts_len<=MAX_IP_OPTIONS_LEN); /* Max length for IP options */
|
||||
memcpy(this->h.options, opts_buff, opts_len);
|
||||
this->ipoptlen=opts_len;
|
||||
this->length += opts_len;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue