修复ETH_P_8021AD协议解析
This commit is contained in:
@@ -606,11 +606,9 @@ static const void *parse_ether(struct raw_pkt_parser *handler, const void *data,
|
|||||||
switch (next_proto)
|
switch (next_proto)
|
||||||
{
|
{
|
||||||
case ETH_P_8021Q:
|
case ETH_P_8021Q:
|
||||||
|
case ETH_P_8021AD:
|
||||||
// TESTED
|
// TESTED
|
||||||
return parse_vlan8021q(handler, data_next_layer, data_next_length, LAYER_TYPE_VLAN);
|
return parse_vlan8021q(handler, data_next_layer, data_next_length, LAYER_TYPE_VLAN);
|
||||||
case ETH_P_8021AD:
|
|
||||||
// TODO
|
|
||||||
return parse_ether(handler, data_next_layer, data_next_length, LAYER_TYPE_ETHER);
|
|
||||||
case ETH_P_IP:
|
case ETH_P_IP:
|
||||||
// TESTED
|
// TESTED
|
||||||
return parse_ipv4(handler, data_next_layer, data_next_length, LAYER_TYPE_IPV4);
|
return parse_ipv4(handler, data_next_layer, data_next_length, LAYER_TYPE_IPV4);
|
||||||
|
|||||||
Reference in New Issue
Block a user