mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
balls
This commit is contained in:
parent
4b575bc7f1
commit
232e6b69e6
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@ func getInterfaceName(iface net.Interface) string {
|
|||
|
||||
for _, dev := range devs {
|
||||
if dev.Name == iface.Name {
|
||||
fmt.Printf("%+v\n", dev)
|
||||
desc := dev.Description
|
||||
name := dev.Name
|
||||
if desc != "" {
|
||||
|
@ -37,6 +38,8 @@ func getInterfaceName(iface net.Interface) string {
|
|||
}
|
||||
}
|
||||
|
||||
fmt.Println("NOOPE")
|
||||
|
||||
return iface.Name
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue