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 e70ccc3b9061a4c1c2e255d1e21943443bfc9159..87992be8cabb6ca0e2875beabf653fc01fd74d53 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 */