add dante device discovery via mdns and ptp clock master detection
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
10
arp.go
10
arp.go
@@ -126,3 +126,13 @@ func normalizeMACAddress(mac string) string {
|
||||
}
|
||||
return strings.Join(parts, ":")
|
||||
}
|
||||
|
||||
func (t *Tendrils) requestARP(ip net.IP) {
|
||||
if t.DisableARP {
|
||||
return
|
||||
}
|
||||
conn, err := net.DialTimeout("udp4", ip.String()+":1", 100*time.Millisecond)
|
||||
if err == nil {
|
||||
conn.Close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user