From 611c8051a2ae58a1c306675c8250865e12563834 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Mon, 24 Feb 2020 18:27:11 +0200 Subject: [PATCH] RawPacket-related changes. --- stargazer/plugins/capture/divert_freebsd/divert_cap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp b/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp index 0688150d..03ecef01 100644 --- a/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp +++ b/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp @@ -166,7 +166,7 @@ while (dc->nonstop) if (buffer[12] != 0x8) continue; - memcpy(rp.rawPacket.pckt, &buffer[14], pcktSize); + memcpy(rp.rawPacket, &buffer[14], packetSize); dc->traffCnt->process(rp); } -- 2.44.2