From: charleswrayjr Date: Mon, 8 Sep 2025 15:52:18 +0000 (-0500) Subject: Testing vpn paths. X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=95902e77352238509be7a85c6e06e509745b5394;p=phs-api.git Testing vpn paths. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index 374c8be..6f7b04a 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -87,6 +87,7 @@ module.exports = { stream.on( 'close', ( code ) => { conn.end(); if (code === 0) { + console.log(output); const lines = output.split( '\n' ); const sIndex = lines.findIndex( line => line.startsWith( 'Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since' ) ); const eIndex = lines.findIndex( line => line.startsWith( 'ROUTING TABLE' ) );