summaryrefslogtreecommitdiffstats
path: root/src/net/icmpv6.c
diff options
context:
space:
mode:
authorMichael Brown2013-08-06 16:55:23 +0200
committerMichael Brown2013-08-06 16:55:23 +0200
commit03506828654a67c49471580a17fc91169b1ce96e (patch)
treeb84f4624ac09a9824c47ca4111ac84ea619f3817 /src/net/icmpv6.c
parent[udp] Move high-frequency debug messages to DBGLVL_EXTRA (diff)
downloadipxe-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/icmpv6.c')
-rw-r--r--src/net/icmpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c
index 1a5aad3b..262ffc3f 100644
--- a/src/net/icmpv6.c
+++ b/src/net/icmpv6.c
@@ -47,7 +47,7 @@ int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src __unuse
nsolicit->csum = tcpip_chksum ( nsolicit, sizeof ( *nsolicit ) );
/* Solicited multicast address */
- st_dest.sin6.sin_family = AF_INET6;
+ st_dest.sin6.sin6_family = AF_INET6;
st_dest.sin6.sin6_addr.in6_u.u6_addr8[0] = 0xff;
st_dest.sin6.sin6_addr.in6_u.u6_addr8[2] = 0x02;
st_dest.sin6.sin6_addr.in6_u.u6_addr16[1] = 0x0000;