misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-25 14:20:17 +01:00
commit 20f92a68e0
2 changed files with 4 additions and 6 deletions

View file

@ -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)
}
}