Skip to content
Snippets Groups Projects
Commit 8e9e69aa authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #3774 from kaspar030/fix_gnrc_ndp_src_addr_type

sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN
parents 9cb38cb6 34092a3e
No related branches found
No related tags found
No related merge requests found
...@@ -610,7 +610,7 @@ static size_t _get_l2src(kernel_pid_t iface, uint8_t *l2src, size_t l2src_maxlen ...@@ -610,7 +610,7 @@ static size_t _get_l2src(kernel_pid_t iface, uint8_t *l2src, size_t l2src_maxlen
{ {
bool try_long = false; bool try_long = false;
int res; int res;
size_t l2src_len; uint16_t l2src_len;
/* maximum address length that fits into a minimum length (8) S/TL2A option */ /* maximum address length that fits into a minimum length (8) S/TL2A option */
const uint16_t max_short_len = 6; const uint16_t max_short_len = 6;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment