Skip to content
Snippets Groups Projects
Unverified Commit db83b363 authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

tests/gnrc_ndp: Use NETOPT_MAX_DPU_SIZE

Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
parent 80c202f3
No related branches found
No related tags found
No related merge requests found
......@@ -973,7 +973,7 @@ static int _test_netif_get(gnrc_netif_t *netif, gnrc_netapi_opt_t *opt)
return sizeof(uint64_t);
case NETOPT_IS_WIRED:
return 1;
case NETOPT_MAX_PACKET_SIZE: {
case NETOPT_MAX_PDU_SIZE: {
uint16_t *val = opt->data;
if (opt->data_len != sizeof(uint16_t)) {
return -EOVERFLOW;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment