]> git.stg.codes - stg.git/commitdiff
Fix compilation error.
authorMaksym Mamontov <madf@madf.info>
Mon, 24 Feb 2020 16:37:42 +0000 (18:37 +0200)
committerMaksym Mamontov <madf@madf.info>
Mon, 24 Feb 2020 16:37:42 +0000 (18:37 +0200)
stargazer/plugins/capture/divert_freebsd/divert_cap.cpp

index eb3a9a87014e3e12d7fd8f83fb4a5da7791b1388..5f9ee0ebab417957fb81eb1b4d64b089a0633c63 100644 (file)
@@ -166,7 +166,7 @@ while (dc->nonstop)
     if (buffer[12] != 0x8)
         continue;
 
     if (buffer[12] != 0x8)
         continue;
 
-    memcpy(rp.rawPacket, &buffer[14], packetSize);
+    memcpy(&rp.rawPacket, &buffer[14], packetSize);
 
     dc->traffCnt->process(rp);
     }
 
     dc->traffCnt->process(rp);
     }