Compare commits
1 Commits
v2.1.2
...
b545b99135
| Author | SHA1 | Date | |
|---|---|---|---|
| b545b99135 |
@@ -256,7 +256,7 @@ Variable|Description
|
|||||||
Variable|Default|Description
|
Variable|Default|Description
|
||||||
---|---|---
|
---|---|---
|
||||||
`LOGLEVEL` | INFO | Loglevel
|
`LOGLEVEL` | INFO | Loglevel
|
||||||
`WIFI_INTERFACE` | wlan0 | Token with write-access
|
`WIFI_INTERFACE` | wlan0 | Wifi-Interface name in Monitor-Mode
|
||||||
~~`HOSTNAME`~~ | ~~Device's Hostname~~ | ~~Hostname to use as global hostname-tag~~ *(Unused)*
|
~~`HOSTNAME`~~ | ~~Device's Hostname~~ | ~~Hostname to use as global hostname-tag~~ *(Unused)*
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -47,13 +47,6 @@ class PacketStreamFactory extends Transform{
|
|||||||
}
|
}
|
||||||
|
|
||||||
_transform(chunk, encoding, next){
|
_transform(chunk, encoding, next){
|
||||||
if(!chunk){
|
|
||||||
const err = "Chunk was invalid!";
|
|
||||||
logger.error(err);
|
|
||||||
next(err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let packet = new Packet();
|
let packet = new Packet();
|
||||||
|
|
||||||
const lines = chunk.split("\n");
|
const lines = chunk.split("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user