Skip to content

Commit

Permalink
pkg/lwip: Add empty netif_setopt
Browse files Browse the repository at this point in the history
To fully implement net/netif.h
  • Loading branch information
yarrick committed May 8, 2022
1 parent bdf13a8 commit 198039c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/lwip/contrib/_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,16 @@ int netif_get_opt(netif_t *iface, netopt_t opt, uint16_t context,
return res;
}

int netif_set_opt(netif_t *iface, netopt_t opt, uint16_t context,
void *value, size_t value_len)
{
(void)iface;
(void)opt;
(void)context;
(void)value;
(void)value_len;

return -ENOTSUP;
}

/** @} */

0 comments on commit 198039c

Please sign in to comment.