NSH changes to work with the network local loopback device

This commit is contained in:
Gregory Nutt
2015-08-24 13:59:52 -06:00
parent 73fc8b501e
commit ce3a2dc0d4
3 changed files with 27 additions and 2 deletions

View File

@@ -155,7 +155,8 @@
* domain sockets were enable.
*/
#if !defined(CONFIG_NET_ETHERNET) && !defined(CONFIG_NET_SLIP) && !defined(CONFIG_NET_TUN)
#if !defined(CONFIG_NET_ETHERNET) && !defined(CONFIG_NET_LOOPBACK) && \
!defined(CONFIG_NET_SLIP) && !defined(CONFIG_NET_TUN)
/* No link layer protocol is a good indication that there is no network
* device.
*/