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
This commit is contained in:
Pagan Gazzard 2022-02-24 20:19:36 +00:00
parent ec26433925
commit f2528dcd18

@ -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,
);