From 0185722e19fcdf38616a70d6634d0a2b1228d7a9 Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Sat, 4 May 2024 17:03:32 +1000 Subject: [PATCH] Fix zone table in status --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 9579c8b..59932e7 100644 --- a/main.go +++ b/main.go @@ -83,7 +83,7 @@ const zoneTableTemplate = ` Network Name - Local + Local Port Last seen @@ -91,7 +91,7 @@ const zoneTableTemplate = ` {{$zone.Network}} {{$zone.Name}} - {{if $zone.Local}}✅{{else}}❌{{end}} + {{with $zone.LocalPort}}{{.Device}}{{else}}-{{end}} {{$zone.LastSeenAgo}} {{end}}