diff --git a/include/netutils/netlib.h b/include/netutils/netlib.h index f6e52ba13..fdbd522de 100644 --- a/include/netutils/netlib.h +++ b/include/netutils/netlib.h @@ -120,6 +120,7 @@ int netlib_getmacaddr(FAR const char *ifname, FAR uint8_t *macaddr); int netlib_seteaddr(FAR const char *ifname, FAR const uint8_t *eaddr); int netlib_getpanid(FAR const char *ifname, FAR uint8_t *panid); +bool netlib_saddrconv(FAR const char *hwstr, FAR uint8_t *hw); bool netlib_eaddrconv(FAR const char *hwstr, FAR uint8_t *hw); #endif diff --git a/netutils/netlib/Makefile b/netutils/netlib/Makefile index 4eb0b1a35..7bf76509f 100644 --- a/netutils/netlib/Makefile +++ b/netutils/netlib/Makefile @@ -88,7 +88,7 @@ endif ifeq ($(CONFIG_NET_6LOWPAN),y) ifeq ($(CONFIG_WIRELESS_IEEE802154),y) -CSRCS += netlib_seteaddr.c netlib_getpanid.c netlib_eaddrconv.c +CSRCS += netlib_seteaddr.c netlib_getpanid.c netlib_saddrconv.c netlib_eaddrconv.c endif ifeq ($(CONFIG_WIRELESS_PKTRADIO),y) CSRCS += netlib_getproperties.c netlib_getnodeaddr.c netlib_setnodeaddr.c