Closed mildsunrise closed 4 years ago
I confirm :)
I'm gonna push a new release
wait, before doing that... it would be good to document the new options and radiotap api
ok. Also feel free to bump package.json version and then I'll publish
and if we are going to release a major version, maybe it would be a good idea to change the createSession
API to accept options instead of arguments, so you specify what you need:
pcap.createSession('eth0', {
filter: '...',
buffer_size: ...,
monitor: ...,
snap_length: ...,
buffer_timeout: ...,
});
pcap.createOfflineSession('/path/to.pcap', {
filter: '...',
});
let's change and document it.
Should be good for merge, can you confirm?