1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

shell: initialize l2 addr length variable

This commit is contained in:
Oleg Hahm 2015-09-11 21:31:19 +02:00
parent 000caf4e87
commit e65cc8dc6d

View File

@ -141,7 +141,7 @@ static int _ipv6_nc_add(int argc, char **argv)
kernel_pid_t iface = KERNEL_PID_UNDEF;
ipv6_addr_t ipv6_addr;
uint8_t l2_addr[MAX_L2_ADDR_LEN];
size_t l2_addr_len;
size_t l2_addr_len = 0;
switch (argc) {
case 1: