diff options
author | Michael Brown | 2013-08-06 16:55:23 +0200 |
---|---|---|
committer | Michael Brown | 2013-08-06 16:55:23 +0200 |
commit | 03506828654a67c49471580a17fc91169b1ce96e (patch) | |
tree | b84f4624ac09a9824c47ca4111ac84ea619f3817 /src/include/ipxe/in.h | |
parent | [udp] Move high-frequency debug messages to DBGLVL_EXTRA (diff) | |
download | ipxe-03506828654a67c49471580a17fc91169b1ce96e.tar.gz ipxe-03506828654a67c49471580a17fc91169b1ce96e.tar.xz ipxe-03506828654a67c49471580a17fc91169b1ce96e.zip |
[ipv6] Rename sin_{family,port} to sin6_{family,port} in struct sockaddr_in6
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/in.h')
-rw-r--r-- | src/include/ipxe/in.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |