mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
bd959586c5
commit
5969acd55d
1 changed files with 0 additions and 3 deletions
|
@ -75,7 +75,6 @@ func (mod *ZeroGod) onServiceDiscovered(svc *zeroconf.ServiceEntry) {
|
|||
}
|
||||
|
||||
if event.Endpoint == nil {
|
||||
// TODO: this is probably an IPv6 only record, try to somehow check which known IPv4 it is
|
||||
mod.Debug("got mdns entry for unknown ip: %++v", *svc)
|
||||
}
|
||||
|
||||
|
@ -258,8 +257,6 @@ 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.Info("got mdns packet from unknown ip %s", srcIP)
|
||||
mod.logDNS(srcIP, dns, isLocal)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue