From b7fa5a3359cd0f2f42142b3a64d7c55e905d3152 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 27 Jan 2015 16:39:30 -0600 Subject: [PATCH] Unix domain: A few fixes from early integration --- nshlib/nsh_netinit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nshlib/nsh_netinit.c b/nshlib/nsh_netinit.c index 5a96aed6c..d2ea3520f 100644 --- a/nshlib/nsh_netinit.c +++ b/nshlib/nsh_netinit.c @@ -235,7 +235,8 @@ static void nsh_netinit_configure(void) /* Set the MAC address */ netlib_setmacaddr(NET_DEVNAME, mac); -#endif + +#endif /* CONFIG_NSH_NOMAC && CONFIG_NET_ETHERNET */ #ifdef CONFIG_NET_IPv4 /* Set up our host address */