Create mothership/internal/oui/oui.go with LookupOUI function: - Accepts net.HardwareAddr (MAC address) - Extracts first 3 bytes as uint32 in big-endian order (OUI) - Returns manufacturer name from ouiMap or empty string if not found - Handles edge cases gracefully (short MAC returns "", no panic) Acceptance criteria met: - LookupOUI returns correct vendor for known OUIs - Unknown OUI returns empty string (no panic) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| detector.go | ||