diff --git a/sys/shell/commands/sc_gnrc_ipv6_nib.c b/sys/shell/commands/sc_gnrc_ipv6_nib.c index 594a68a550..3baf21c8f9 100644 --- a/sys/shell/commands/sc_gnrc_ipv6_nib.c +++ b/sys/shell/commands/sc_gnrc_ipv6_nib.c @@ -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); }