From f2528dcd1827e0529095bac1c346072b237da848 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Thu, 24 Feb 2022 20:19:36 +0000 Subject: [PATCH] Correctly use the device uuid when logging the tunnel target The "vpn address" is only relevant on the device/vpn server themselves and makes no sense from a CLI context as it uses the uuid to specify the target Change-type: patch --- lib/commands/tunnel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands/tunnel.ts b/lib/commands/tunnel.ts index 4bfb0a67..9150cf12 100644 --- a/lib/commands/tunnel.ts +++ b/lib/commands/tunnel.ts @@ -162,7 +162,7 @@ export default class TunnelCmd extends Command { client.remotePort || 0, client.localAddress, client.localPort, - device.vpn_address || '', + device.uuid, remotePort, ); } catch (err) { @@ -171,7 +171,7 @@ export default class TunnelCmd extends Command { client.remotePort || 0, client.localAddress, client.localPort, - device.vpn_address || '', + device.uuid, remotePort, err, );