From b618761330a8c15ec520934959f431028d60070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=98=95?= Date: Wed, 17 May 2023 11:28:52 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E4=BF=AE=E6=AD=A3=20DHCP=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=B7=A5=E5=85=B7=E5=8F=91=E9=80=81=E4=B8=8D?= =?UTF-8?q?=E5=B8=A6VLAN=E6=95=B0=E6=8D=AE=E5=8C=85=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dhcp_tools/detail_wnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcp_tools/detail_wnd.c b/dhcp_tools/detail_wnd.c index d054f1a..b90aa6b 100644 --- a/dhcp_tools/detail_wnd.c +++ b/dhcp_tools/detail_wnd.c @@ -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: