]> git.stg.codes - stg.git/commitdiff
pcktSize -> packetSize
authorMaksym Mamontov <madf@madf.info>
Mon, 24 Feb 2020 16:27:56 +0000 (18:27 +0200)
committerMaksym Mamontov <madf@madf.info>
Mon, 24 Feb 2020 16:27:56 +0000 (18:27 +0200)
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;