🐞 fix(ipv6_jump_to_layer): ipv6报文增加版本号判断
This commit is contained in:
@@ -807,6 +807,11 @@ static int ipv6_jump_to_layer(const char *raw_data, int raw_layer_type, int exp
|
||||
int skip_len = 0;
|
||||
int offset_to_ip6 = 0;
|
||||
|
||||
if(a_packet->ip6_flags[0]!= 0x60)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(raw_layer_type == expect_layer_type){
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user