diff --git a/net/net.go b/net/net.go index 0052fc39..c754324b 100644 --- a/net/net.go +++ b/net/net.go @@ -16,9 +16,11 @@ import ( const MonitorModeAddress = "0.0.0.0" func areTheSame(iface net.Interface, piface pcap.Interface) bool { + fmt.Printf("%+v\n", piface) if addrs, err := iface.Addrs(); err == nil { for _, ia := range addrs { for _, ib := range piface.Addresses { + fmt.Printf(" %+v\n", ib) if ia.String() == ib.IP.String() { return true }