2
index.js
2
index.js
@@ -447,8 +447,6 @@ function setupCapture(interfaceName) {
|
||||
}
|
||||
logger.info(`Link type: ${linkType}`);
|
||||
|
||||
cap.setMinBytes(0);
|
||||
|
||||
cap.on('packet', (nbytes, trunc) => {
|
||||
if (linkType === 'ETHERNET') {
|
||||
const buffer = cap.buffer.slice(0, nbytes);
|
||||
|
||||
Referencia en una nueva incidencia
Block a user