Skip to content

Commit

Permalink
tests/gnrc_ipv6_nib_6ln: remove NETOPT_IPV6_IID support in mock-device
Browse files Browse the repository at this point in the history
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae9056.
  • Loading branch information
miri64 committed Jun 25, 2020
1 parent 0035bf0 commit 1399f6f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/gnrc_ipv6_nib_6ln/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,12 +1327,6 @@ int _mock_netif_get(gnrc_netapi_opt_t *opt)
*val = sizeof(_loc_l2);
return sizeof(uint16_t);
}
case NETOPT_IPV6_IID:
if (opt->data_len < sizeof(_loc_iid)) {
return -EOVERFLOW;
}
memcpy(opt->data, _loc_iid, sizeof(_loc_iid));
return sizeof(_loc_iid);
case NETOPT_IS_WIRED:
return 1;
case NETOPT_MAX_PDU_SIZE: {
Expand Down

0 comments on commit 1399f6f

Please sign in to comment.