Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-18 23:35:48 +00:00
This commit is contained in:
bol-van
2026-03-01 09:48:18 +03:00
parent 038f64ddad
commit 69e8bb3c7f
4 changed files with 6 additions and 11 deletions

View File

@@ -780,6 +780,7 @@ function test_csum()
print( raw==udpb and "UDP RECONSTRUCT OK" or "UDP RECONSTRUCT FAILED" )
test_assert(raw==udpb)
ip.ip_p = IPPROTO_UDP
raw = reconstruct_dissect({ip=ip, udp=udp, payload=payload})
dis1 = dissect(raw)
ip.ip_p = IPPROTO_UDP