mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
balls
This commit is contained in:
parent
c9b06a1f95
commit
017c144b20
1 changed files with 0 additions and 3 deletions
|
@ -16,7 +16,6 @@ import (
|
||||||
const MonitorModeAddress = "0.0.0.0"
|
const MonitorModeAddress = "0.0.0.0"
|
||||||
|
|
||||||
func areTheSame(iface net.Interface, piface pcap.Interface) bool {
|
func areTheSame(iface net.Interface, piface pcap.Interface) bool {
|
||||||
fmt.Printf("%+v\n", piface)
|
|
||||||
if addrs, err := iface.Addrs(); err == nil {
|
if addrs, err := iface.Addrs(); err == nil {
|
||||||
for _, ia := range addrs {
|
for _, ia := range addrs {
|
||||||
for _, ib := range piface.Addresses {
|
for _, ib := range piface.Addresses {
|
||||||
|
@ -47,8 +46,6 @@ func getInterfaceName(iface net.Interface) string {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("NOOPE")
|
|
||||||
|
|
||||||
return iface.Name
|
return iface.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue