Fix ARP incomplete entries and Art-Net broadcast reception

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-27 22:57:53 -08:00
parent 25f8f410c1
commit ccd6956d6a
3 changed files with 48 additions and 36 deletions

View File

@@ -34,6 +34,7 @@ type Tendrils struct {
activeInterfaces map[string]context.CancelFunc
nodes *Nodes
artnet *ArtNetNodes
artnetConn *net.UDPConn
danteFlows *DanteFlows
errors *ErrorTracker
ping *PingManager
@@ -158,6 +159,10 @@ func (t *Tendrils) Run() {
go t.pollARP(ctx)
}
if !t.DisableArtNet {
go t.startArtNetListener(ctx)
}
ticker := time.NewTicker(1 * time.Second)
defer ticker.Stop()
@@ -294,7 +299,7 @@ func (t *Tendrils) startInterface(ctx context.Context, iface net.Interface) {
go t.listenMDNS(ctx, iface)
}
if !t.DisableArtNet {
go t.listenArtNet(ctx, iface)
go t.startArtNetPoller(ctx, iface)
}
if !t.DisableDante {
go t.listenDante(ctx, iface)