diff --git a/include/netutils/netlib.h b/include/netutils/netlib.h index 697d973c2..f096e7baf 100644 --- a/include/netutils/netlib.h +++ b/include/netutils/netlib.h @@ -114,7 +114,7 @@ int netlib_setmacaddr(FAR const char *ifname, FAR const uint8_t *macaddr); int netlib_getmacaddr(FAR const char *ifname, FAR uint8_t *macaddr); #endif -#ifdef CONFIG_NET_ETHERNET +#ifdef CONFIG_NET_6LOWPAN /* Get IEEE802.15.4 MAC driver node address */ int netlib_setnodeaddr(FAR const char *ifname, FAR const uint8_t *nodeaddr);