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/net/ipv6.c | |
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/net/ipv6.c')
-rw-r--r-- | src/net/ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c index 57bf94d8..d76e59cb 100644 --- a/src/net/ipv6.c +++ b/src/net/ipv6.c @@ -332,10 +332,10 @@ static int ipv6_rx ( struct io_buffer *iobuf, /* Construct socket address */ memset ( &src, 0, sizeof ( src ) ); - src.sin6.sin_family = AF_INET6; + src.sin6.sin6_family = AF_INET6; src.sin6.sin6_addr = ip6hdr->src; memset ( &dest, 0, sizeof ( dest ) ); - dest.sin6.sin_family = AF_INET6; + dest.sin6.sin6_family = AF_INET6; dest.sin6.sin6_addr = ip6hdr->dest; /* Strip header */ |