From 6142244f4146342445f7a9f5f6272763f689e89d Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Mon, 24 Feb 2020 18:37:42 +0200 Subject: [PATCH] Fix compilation error. --- 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 eb3a9a87..5f9ee0eb 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, &buffer[14], packetSize); + memcpy(&rp.rawPacket, &buffer[14], packetSize); dc->traffCnt->process(rp); } -- 2.44.2