mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 20:51:30 +00:00
Fix loop flow. #1834
This commit is contained in:
@@ -731,10 +731,8 @@ int PacketParser::payload_offset(const u8 *pkt, size_t pktlen, bool link_include
|
||||
if(me->protocol_id()==HEADER_TYPE_RAW_DATA){
|
||||
offset = pktlen - me->getLen();
|
||||
break;
|
||||
me=me->getNextElement();
|
||||
}else{
|
||||
me=me->getNextElement();
|
||||
}
|
||||
me = me->getNextElement();
|
||||
}
|
||||
|
||||
/* Free the structs */
|
||||
|
||||
Reference in New Issue
Block a user