mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Minor cosmetic fix.
This commit is contained in:
parent
b189bc31ec
commit
68bdff3e54
1 changed files with 1 additions and 2 deletions
|
|
@ -217,7 +217,6 @@ int parse_ip_options(const char *txt, u8 *data, int datalen, int* firsthopoff, i
|
|||
memset(data, 0, datalen);
|
||||
int sourcerouting = 0;
|
||||
|
||||
|
||||
for(;*c;c++){
|
||||
switch(s){
|
||||
case SLASH:
|
||||
|
|
@ -228,7 +227,7 @@ int parse_ip_options(const char *txt, u8 *data, int datalen, int* firsthopoff, i
|
|||
}
|
||||
if(isxdigit(*c)){
|
||||
*d++ = strtol(c, &n, base);
|
||||
c=n-1;
|
||||
c = n-1;
|
||||
}else{
|
||||
if(errstr) Snprintf(errstr, errstrlen, "not a digit after '\\'");
|
||||
return OP_FAILURE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue