net: quickfix on non-existing Address.family

This commit is contained in:
Luna 2019-06-26 13:40:26 -03:00 committed by Andrew Kelley
parent fa42c99d82
commit 07c0d484ee

View File

@ -33,7 +33,6 @@ pub const Address = struct {
pub fn initIp6(ip6: *const Ip6Addr, _port: u16) Address {
return Address{
.family = os.AF_INET6,
.os_addr = os.sockaddr{
.in6 = os.sockaddr_in6{
.family = os.AF_INET6,