From: Maksym Mamontov Date: Mon, 24 Feb 2020 16:37:42 +0000 (+0200) Subject: Fix compilation error. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6142244f4146342445f7a9f5f6272763f689e89d?hp=bf689f8729a4f53f9425da557e0919eb9a6d795b Fix compilation error. --- 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); }