diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-10-24 14:06:33 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-10-25 17:29:25 +0100 |
commit | b15dbc9cc65e8385a30513554129d7640bc8a0f9 (patch) | |
tree | 0940b32e4dff9afa6c938a1922cfe1174bd3670b /src/net/ipv6.c | |
parent | 10d19bd2ac302cd5237e7b1ca200760594a3c8c2 (diff) | |
download | ipxe-b15dbc9cc65e8385a30513554129d7640bc8a0f9.tar.gz |
[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.c | 1 |
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; |