From bc70add19cfa66fb73410f73196860f555ef7a32 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Wed, 18 Oct 2023 19:16:53 +0200 Subject: [PATCH] Match native hook logging to the other scripts --- native-hook.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/native-hook.js b/native-hook.js index 7dce428..63d4a8f 100644 --- a/native-hook.js +++ b/native-hook.js @@ -102,7 +102,11 @@ if (!connectFn) { // Should always be set, but just in case } }); - console.log(`Hooked connect() at ${connectFn}`); + console.log(`== Redirecting ${ + IGNORED_NON_HTTP_PORTS.length === 0 + ? 'all' + : 'all unrecognized' + } TCP connections to ${PROXY_HOST}:${PROXY_PORT} ==`); } const areArraysEqual = (arrayA, arrayB) => {