From 6663679a8cd2517a5d73cf4dc35a49aaf65b75d1 Mon Sep 17 00:00:00 2001 From: Oleg Hahm <oleg@hobbykeller.org> Date: Wed, 12 Aug 2015 16:09:30 +0200 Subject: [PATCH] ndp: missing initialization --- sys/net/network_layer/ng_ndp/node/ng_ndp_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/network_layer/ng_ndp/node/ng_ndp_node.c b/sys/net/network_layer/ng_ndp/node/ng_ndp_node.c index e70ccc3b90..87992be8ca 100644 --- a/sys/net/network_layer/ng_ndp/node/ng_ndp_node.c +++ b/sys/net/network_layer/ng_ndp/node/ng_ndp_node.c @@ -65,7 +65,7 @@ kernel_pid_t ng_ndp_node_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_len, next_hop_ip = ng_ipv6_ext_rh_next_hop(hdr); #endif #ifdef MODULE_FIB - size_t next_hop_size; + size_t next_hop_size = sizeof(ipv6_addr_t); uint32_t next_hop_flags = 0; ipv6_addr_t next_hop_actual; /* FIB copies address into this variable */ -- GitLab