misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2024-09-22 15:03:10 +02:00
parent a234c20650
commit bd959586c5

View file

@ -260,7 +260,8 @@ func (mod *ZeroGod) onPacket(pkt gopacket.Packet) {
if event.Endpoint == nil {
// TODO: if nil, this is probably an IPv6 only record, try to somehow check which known IPv4 it is
// TODO: make configurable?
mod.Debug("got mdns packet from unknown ip %s: %++v", srcIP, dns)
mod.Info("got mdns packet from unknown ip %s", srcIP)
mod.logDNS(srcIP, dns, isLocal)
return
}