Skip to content

Commit

Permalink
missing connect arg (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
analogic committed Nov 18, 2022
1 parent bda4888 commit cff2948
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### Unreleased

### [1.0.9] - 2022-11-10

- fix connect path argument causing server crash when socket missing

### [1.0.8] - 2022-07-07

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class P0FClient {

// Try and reconnect
if (!this.restart_interval) {
this.restart_interval = setInterval(() => { this.connect(); }, 5 * 1000);
this.restart_interval = setInterval(() => { this.connect(path); }, 5 * 1000);
}
// Clear the receive queue
for (let i=0; i<this.receive_queue.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haraka-plugin-p0f",
"version": "1.0.8",
"version": "1.0.9",
"description": "Haraka plugin that adds TCP fingerprinting",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit cff2948

Please sign in to comment.