mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN
This commit is contained in:
parent
ef000d46af
commit
34092a3eba
@ -610,7 +610,7 @@ static size_t _get_l2src(kernel_pid_t iface, uint8_t *l2src, size_t l2src_maxlen
|
||||
{
|
||||
bool try_long = false;
|
||||
int res;
|
||||
size_t l2src_len;
|
||||
uint16_t l2src_len;
|
||||
/* maximum address length that fits into a minimum length (8) S/TL2A option */
|
||||
const uint16_t max_short_len = 6;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user