refact: refactored to use islazy and updated deps

This commit is contained in:
evilsocket 2018-10-10 19:00:25 +02:00
parent a2b3ee79fb
commit d070445225
238 changed files with 12662 additions and 1586 deletions

View file

@ -11,7 +11,7 @@ func FindGateway(iface *Endpoint) (*Endpoint, error) {
return nil, err
}
gw := core.Trim(output)
gw := str.Trim(output)
if IPv4Validator.MatchString(gw) {
// we have the address, now we need its mac
mac, err := ArpLookup(iface.Name(), gw, false)