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/icmpv6.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/icmpv6.c')
-rw-r--r-- | src/net/icmpv6.c | 2 |
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; |