From 4c56a28016c92b0e9996a91a391be204e5582ef4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 7 Apr 2017 07:24:09 -0600 Subject: [PATCH] 6loWPAN: Fix some conditional compilation --- include/netutils/netlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);