From 053f5aa10dd3b2d15ba2fe3f8cede92019153af3 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 24 Mar 2019 21:46:43 +0100 Subject: [PATCH] Fix compile of last patch --- src/core/ipv6/nd6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipv6/nd6.c b/src/core/ipv6/nd6.c index 80287065..1e7c94ce 100644 --- a/src/core/ipv6/nd6.c +++ b/src/core/ipv6/nd6.c @@ -1182,7 +1182,7 @@ nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) { struct ns_header *ns_hdr; struct pbuf *p; - const ip6_addr_t *src_addr; + const ip6_addr_t *src_addr = NULL; u16_t lladdr_opt_len; LWIP_ASSERT("target address is required", target_addr != NULL);