mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 05:23:19 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
9f83d66f99
commit
20f92a68e0
2 changed files with 4 additions and 6 deletions
|
@ -63,8 +63,8 @@ func buildEndpointFromInterface(iface net.Interface) (*Endpoint, error) {
|
|||
e.SetNetwork(address)
|
||||
}
|
||||
} else {
|
||||
// ipv6/bits
|
||||
e.SetIPv6Network(address)
|
||||
// ipv6/xxx
|
||||
e.SetIPv6(address)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue