mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
053cff0dd5
commit
12ff2918da
1 changed files with 0 additions and 1 deletions
|
@ -106,7 +106,6 @@ func FindInterface(name string) (*Endpoint, error) {
|
|||
return nil, err
|
||||
}
|
||||
name = core.Trim(name)
|
||||
|
||||
if name != "" {
|
||||
return findInterfaceByName(name, ifaces)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue