OCT 1. 修正 DHCP 测试工具发送不带VLAN数据包异常问题
This commit is contained in:
parent
0ee31cdd61
commit
b618761330
|
@ -170,7 +170,7 @@ static void create_dhcp_tree_mode(U8 *pkg, U32 nBytes, GtkWidget *treeView) {
|
|||
switch (get_package_vlan_type(pkg)) {
|
||||
default:
|
||||
pIp = (struct iphdr *)(pkg + IP_HDR_OFFSET);
|
||||
pUdp = (struct udphdr *)(UDP_HDR_OFFSET);
|
||||
pUdp = (struct udphdr *)(pkg + UDP_HDR_OFFSET);
|
||||
pDhcp = (PDHCP_PROTO)((U8 *)pkg + DHCP_OFFSET);
|
||||
break;
|
||||
case VLAN_LEVEL1:
|
||||
|
|
Loading…
Reference in New Issue