]> PHS Git Server - phs-api.git/commitdiff
Testing vpn paths.
authorcharleswrayjr <charleswrayjr@gmail.com>
Mon, 8 Sep 2025 16:36:47 +0000 (11:36 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Mon, 8 Sep 2025 16:36:47 +0000 (11:36 -0500)
src/controllers/vpn.controller.js

index c60f03eca12bb2556298309c102b902e90de7eb1..2847f111951a47b02d95e1ee1c498096ac8ac4af 100644 (file)
@@ -10,7 +10,8 @@ const parseVpnStatus = ( output ) => {
   // Split once and reuse
   const lines = output.split( '\n' ).map( line => line.trim() ).filter( Boolean );
 
-  logger.debug( [ 'lines:', lines ].join( ' ' ) );
+  const lValues = [ 'lines:', lines ].join( ' ' );
+  logger.debug( lValues );
   // Find indices using a single pass
   let sIndex = -1, mIndex = -1, eIndex = -1;
   lines.forEach( ( line, i ) => {