More Size

This commit is contained in:
Josh Deprez 2024-04-15 10:11:59 +10:00
parent add0c89a67
commit 3be22b5b9b
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

2
zip.go
View file

@ -158,6 +158,8 @@ func handleZIP(pcapHandle *pcap.Handle, srcHWAddr, myHWAddr ethernet.Addr, myAdd
// routers should respond with a broadcast." // routers should respond with a broadcast."
outDDP := ddp.ExtPacket{ outDDP := ddp.ExtPacket{
ExtHeader: ddp.ExtHeader{ ExtHeader: ddp.ExtHeader{
Size: uint16(len(respRaw)),
Cksum: 0,
DstNet: ddpkt.SrcNet, DstNet: ddpkt.SrcNet,
DstNode: ddpkt.SrcNode, DstNode: ddpkt.SrcNode,
DstSocket: ddpkt.SrcSocket, DstSocket: ddpkt.SrcSocket,