From b6752809945adc4a6f858b288330ce04ac3b4593 Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Tue, 30 Jan 2018 22:17:22 +0100 Subject: [PATCH] cmd/mconnect-discover: display tcp port Signed-off-by: Maciek Borzecki --- cmd/mconnect-discover/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/mconnect-discover/main.go b/cmd/mconnect-discover/main.go index 14f728c..aaa5d1f 100644 --- a/cmd/mconnect-discover/main.go +++ b/cmd/mconnect-discover/main.go @@ -94,10 +94,10 @@ func main() { d.From, d.Identity) if _, ok := devices[d.Identity.DeviceId]; !ok { devices[d.Identity.DeviceId] = d - fmt.Fprintf(Stdout, " * %q (ID: %v) %v\n", + fmt.Fprintf(Stdout, " * %q (ID: %v) %v:%v\n", d.Identity.DeviceName, d.Identity.DeviceId, - d.From.IP) + d.From.IP, d.Identity.TcpPort) } } }