This commit is contained in:
Josh Deprez 2024-05-05 18:09:38 +10:00
parent 95eec9564f
commit c1f84c3f29
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

View file

@ -201,15 +201,6 @@ func main() {
return rs, nil return rs, nil
}) })
// zones := router.NewZoneTable()
// status.AddItem(ctx, "Zone table", zoneTableTemplate, func(context.Context) (any, error) {
// zs := zones.Dump()
// slices.SortFunc(zs, func(za, zb router.Zone) int {
// return cmp.Compare(za.Name, zb.Name)
// })
// return zs, nil
// })
// -------------------------------- Peers --------------------------------- // -------------------------------- Peers ---------------------------------
var peersMu sync.Mutex var peersMu sync.Mutex
peers := make(map[udpAddr]*router.AURPPeer) peers := make(map[udpAddr]*router.AURPPeer)