]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/capture/divert_freebsd/divert_cap.cpp
RawPacket-related changes.
[stg.git] / stargazer / plugins / capture / divert_freebsd / divert_cap.cpp
index 0688150d953949b3316c9c4608ca399eef204344..03ecef01c8e861cdf46f41aa33d75cf11019ad89 100644 (file)
@@ -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);
     }