From e8c14be1bc34227ce23277a30689c54adecde4dc Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Mon, 8 Sep 2025 11:08:55 -0500 Subject: [PATCH] Testing vpn paths. --- src/controllers/vpn.controller.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index 620c219..642126a 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -87,7 +87,6 @@ module.exports = { stream.on( 'close', ( code ) => { conn.end(); if (code === 0) { - const parseVpnStatus = (output) => { // Split once and reuse const lines = output.split('\n').map(line => line.trim()).filter(Boolean); @@ -122,7 +121,6 @@ module.exports = { } res.json(clientsMap.values()); - }; /*const lines = output.split( '\n' ); const sIndex = lines.findIndex( line => line.startsWith( 'Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since' ) ); const mIndex = lines.findIndex( line => line.startsWith( 'ROUTING TABLE' ) ); -- 2.43.0