summaryrefslogtreecommitdiffstats
path: root/src/net/icmpv6.c
diff options
context:
space:
mode:
authorMichael Brown2009-01-21 04:40:39 +0100
committerMichael Brown2009-01-21 04:40:39 +0100
commitd230b53df2f44da477742094e5bbcc1b1520347c (patch)
tree4d0c8e9591509360aa7a7b1135ae39d6eab320ee /src/net/icmpv6.c
parent[ethernet] Fix eth_mc_hash() return status (diff)
downloadipxe-d230b53df2f44da477742094e5bbcc1b1520347c.tar.gz
ipxe-d230b53df2f44da477742094e5bbcc1b1520347c.tar.xz
ipxe-d230b53df2f44da477742094e5bbcc1b1520347c.zip
[tcpip] Allow for transmission to multicast IPv4 addresses
When sending to a multicast address, it may be necessary to specify the source address explicitly, since the multicast destination address does not provide enough information to deduce the source address via the miniroute table. Allow the source address specified via the data-xfer metadata to be passed down through the TCP/IP stack to the IPv4 layer, which can use it as a default source address.
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 7b7146c2..237fc4a6 100644
--- a/src/net/icmpv6.c
+++ b/src/net/icmpv6.c
@@ -60,7 +60,7 @@ int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src __unuse
st_dest.sin6.sin6_addr.in6_u.u6_addr8[13] = 0xff;
/* Send packet over IP6 */
- return tcpip_tx ( iobuf, &icmp6_protocol, &st_dest.st,
+ return tcpip_tx ( iobuf, &icmp6_protocol, NULL, &st_dest.st,
NULL, &nsolicit->csum );
}