1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

shell_commands: gnrc_ipv6_nib: remove unnecessary cast

This commit is contained in:
Martine Lenders 2019-09-11 20:47:29 +02:00
parent 5c2fec106a
commit 1656162835

View File

@ -273,7 +273,7 @@ static int _nib_route(int argc, char **argv)
return 1;
}
if (argc > 6) {
ltime = (uint16_t)atoi(argv[6]);
ltime = atoi(argv[6]);
}
gnrc_ipv6_nib_ft_add(&pfx, pfx_len, &next_hop, iface, ltime);
}