Added payload to udpack in dissector

This commit is contained in:
QuantumEntangledAndy authored and Andrew committed 2021-08-31 20:47:34 +07:00
1 parent 33a227420a
commit 73204acf52
1 file changed
+1 -1
+1 -1
View File
@@ -692,7 +692,7 @@ function bc_protocol.dissector(buffer, pinfo, tree)
elseif udp_header.class == 0x20 then
pinfo.cols.protocol = bc_protocol.name .. " UDP ACK"
if udp_header.ack_payload_size > 0 then
tree:add(bc_protocol, buffer(25,udp_header.ack_payload_size), "BcUdp Ack Payload")
tree:add(bc_protocol, buffer(28,udp_header.ack_payload_size), "BcUdp Ack Payload")
end
else
subbuffer = buffer(udp_header_len, nil)