From 97c53f4b3592dbde8052c07575e270572b5e2bfe Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Thu, 24 Jul 2025 16:26:38 +0200 Subject: [PATCH] Correct comment in native connect hook --- native-connect-hook.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/native-connect-hook.js b/native-connect-hook.js index bad1049..17969a5 100644 --- a/native-connect-hook.js +++ b/native-connect-hook.js @@ -130,11 +130,10 @@ this.state = 'ignored'; } } else if (DEBUG_MODE) { + // Should just be unix domain sockets - UDP & TCP are covered above console.log(`Ignoring ${sockType} connection`); this.state = 'ignored'; } - - // N.b. we ignore all non-TCP connections: both UDP and Unix streams }, onLeave: function (retval) { if (!DEBUG_MODE || this.state === 'ignored') return;