fix jump greedy for ipv6; fix compile warnning
This commit is contained in:
@@ -143,7 +143,7 @@ static int jump_check_udp_pkt(const struct udphdr *uhdr, unsigned short expect_u
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int jump_check_vlan_pkt(const void *vlan_hdr, unsigned int expect_vlan_hex_data)
|
||||
int jump_check_vlan_pkt(const void *vlan_hdr, unsigned int expect_vlan_hex_data)
|
||||
{
|
||||
if(memcmp(vlan_hdr, &expect_vlan_hex_data, sizeof(int)) != 0){
|
||||
printf("\033[1;31;40mMESA_net_jump_to_layer(): vlan header error!\033[0m\n");
|
||||
|
||||
Reference in New Issue
Block a user