mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 01:31:36 -04:00
!50 修复NewIP wireshark脚本icmp报文的解析错误
Merge pull request !50 from liangbotong/master
This commit is contained in:
@@ -256,8 +256,8 @@ function nip_dissector(tvb, pinfo, treeitem)
|
||||
offset = offset + 1
|
||||
nd_icmp_tree:add(_code, tvb(offset, 1))
|
||||
offset = offset + 1
|
||||
nd_icmp_tree:add(_checksum, tvb(offset, 1))
|
||||
offset = offset + 1
|
||||
nd_icmp_tree:add(_checksum, tvb(offset, 2))
|
||||
offset = offset + 2
|
||||
if type == 1 then
|
||||
local first_addr = tvb(offset, 1):uint()
|
||||
local addr_len = get_nip_addr_len (first_addr)
|
||||
|
||||
Reference in New Issue
Block a user