From 5019f7c060d8719656443820f88b05d4ba22ffe5 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 24 Dec 2025 12:58:16 -0800 Subject: [PATCH] Remove global and classic ArtNet broadcast addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only use per-interface broadcast addresses for auto-detection. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- main.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/main.go b/main.go index 4561b01..812dbe5 100644 --- a/main.go +++ b/main.go @@ -374,18 +374,6 @@ func detectBroadcastAddrs() []*net.UDPAddr { var addrs []*net.UDPAddr seen := make(map[string]bool) - // Always include standard ArtNet broadcast addresses - // 255.255.255.255 - limited broadcast (may not work on all networks) - // 2.255.255.255 - classic ArtNet subnet broadcast - for _, ip := range []net.IP{ - net.IPv4(255, 255, 255, 255), - net.IPv4(2, 255, 255, 255), - } { - key := ip.String() - seen[key] = true - addrs = append(addrs, &net.UDPAddr{IP: ip, Port: artnet.Port}) - } - ifaces, err := net.Interfaces() if err != nil { return addrs