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:
parent
000caf4e87
commit
e65cc8dc6d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user