mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
fd70d9b79e
commit
b708bbeb79
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ func FindGateway(iface *Endpoint) (*Endpoint, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return NewEndpoint(gateway, mac), nil
|
||||
return NewEndpoint(gw, mac), nil
|
||||
}
|
||||
|
||||
return nil, ErrNoGateway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue