]> PHS Git Server - phs-api.git/commitdiff
Removing debug logging from getStatus method on vpn.controller.js.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 20:17:40 +0000 (15:17 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 20:17:40 +0000 (15:17 -0500)
src/controllers/vpn.controller.js

index 87771c1cd2cbd343482ceb94ead71ce772ca31ba..81db122bf9e2a225e553953457d95cf041dabe0c 100644 (file)
@@ -262,7 +262,7 @@ module.exports = {
 
       // Disconnect client via management interface
       const client = new net.Socket();
-      client.connect(7505, 'localhost', () => {
+      client.connect(7505, '192.168.1.62', () => {
         logger.info('Connected to OpenVPN management interface');
         client.write(`client-kill ${clientName}\n`);
       });