From 03506828654a67c49471580a17fc91169b1ce96e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 6 Aug 2013 15:55:23 +0100 Subject: [ipv6] Rename sin_{family,port} to sin6_{family,port} in struct sockaddr_in6 Signed-off-by: Michael Brown --- src/include/ipxe/in.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/ipxe/in.h') diff --git a/src/include/ipxe/in.h b/src/include/ipxe/in.h index 20f1ce26..1208ae38 100644 --- a/src/include/ipxe/in.h +++ b/src/include/ipxe/in.h @@ -82,9 +82,9 @@ struct sockaddr_in6 { * * Always set to @c AF_INET6 for IPv6 addresses */ - sa_family_t sin_family; + sa_family_t sin6_family; /** TCP/IP port (part of struct @c sockaddr_tcpip) */ - uint16_t sin_port; + uint16_t sin6_port; uint32_t sin6_flowinfo; /* Flow number */ struct in6_addr sin6_addr; /* 128-bit destination address */ uint32_t sin6_scope_id; /* Scope ID */ -- cgit v1.2.3-55-g7522