summaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorMichael Brown2013-10-24 15:06:33 +0200
committerMichael Brown2013-10-25 18:29:25 +0200
commitb15dbc9cc65e8385a30513554129d7640bc8a0f9 (patch)
tree0940b32e4dff9afa6c938a1922cfe1174bd3670b /src/net/ipv6.c
parent[pxe] Always retrieve cached DHCPACK and apply to relevant network device (diff)
downloadipxe-b15dbc9cc65e8385a30513554129d7640bc8a0f9.tar.gz
ipxe-b15dbc9cc65e8385a30513554129d7640bc8a0f9.tar.xz
ipxe-b15dbc9cc65e8385a30513554129d7640bc8a0f9.zip
[ipv6] Add ndp_tx_router_solicitation() to send router solicitations
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r--src/net/ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index 540ed05b..cbd4e3e5 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -926,6 +926,7 @@ static int ipv6_probe ( struct net_device *netdev ) {
int rc;
/* Construct link-local address from EUI-64 as per RFC 2464 */
+ memset ( &address, 0, sizeof ( address ) );
prefix_len = ipv6_link_local ( &address, netdev );
if ( prefix_len < 0 ) {
rc = prefix_len;