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 6, 2022
1 parent cea9f14 commit fe71623
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/lwip/contrib/_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@ 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)
{
return -ENOTSUP;
}

/** @} */

0 comments on commit fe71623

Please sign in to comment.