From 214c72514bcc7f901a7b78e74c46b58bd037065a Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Mon, 29 Apr 2024 13:03:43 +1000 Subject: [PATCH] fix /status route table? --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index eff6129..9373dfe 100644 --- a/main.go +++ b/main.go @@ -63,7 +63,7 @@ const routingTableTemplate = ` {{if $route.Extended}}✅{{else}}❌{{end}} {{$route.Distance}} {{$route.LastSeenAgo}} - {{if $route.Peer}}{{$route.Peer.RemoteAddr}}{{else}}-{{end}} + {{if $route.AURPPeer}}{{$route.AURPPeer.RemoteAddr}}{{else if $route.EtherTalkPeer}}{{$route.EtherTalkPeer.PeerAddr.Network}}.{{$route.EtherTalkPeer.PeerAddr.Node}}{{else}}-{{end}} {{end}}