]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/capture/divert_freebsd/divert_cap.cpp
pcktSize -> packetSize
[stg.git] / stargazer / plugins / capture / divert_freebsd / divert_cap.cpp
index 03ecef01c8e861cdf46f41aa33d75cf11019ad89..eb3a9a87014e3e12d7fd8f83fb4a5da7791b1388 100644 (file)
@@ -157,7 +157,7 @@ pthread_sigmask(SIG_BLOCK, &signalSet, NULL);
 DIVERT_CAP * dc = static_cast<DIVERT_CAP *>(d);
 dc->isRunning = true;
 
-char buffer[pcktSize + 14];
+char buffer[packetSize + 14];
 while (dc->nonstop)
     {
     STG::RawPacket rp;