From: Maksym Mamontov Date: Mon, 24 Feb 2020 16:27:56 +0000 (+0200) Subject: pcktSize -> packetSize X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/bf689f8729a4f53f9425da557e0919eb9a6d795b?ds=inline;hp=611c8051a2ae58a1c306675c8250865e12563834 pcktSize -> packetSize --- diff --git a/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp b/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp index 03ecef01..eb3a9a87 100644 --- a/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp +++ b/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp @@ -157,7 +157,7 @@ pthread_sigmask(SIG_BLOCK, &signalSet, NULL); DIVERT_CAP * dc = static_cast(d); dc->isRunning = true; -char buffer[pcktSize + 14]; +char buffer[packetSize + 14]; while (dc->nonstop) { STG::RawPacket rp;