From b15dbc9cc65e8385a30513554129d7640bc8a0f9 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 24 Oct 2013 14:06:33 +0100 Subject: [ipv6] Add ndp_tx_router_solicitation() to send router solicitations Signed-off-by: Michael Brown --- src/net/ipv6.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/ipv6.c') diff --git a/src/net/ipv6.c b/src/net/ipv6.c index 540ed05b6..cbd4e3e59 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; -- cgit v1.2.3-55-g7522