netutils: Check lo by CONFIG_NET_LOOPBACK not CONFIG_NET_LOCAL
CONFIG_NET_LOCAL is used to enable Unix Domain Socket Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c48a8fdf4e
commit
8361990261
@ -186,7 +186,7 @@
|
|||||||
#elif defined(CONFIG_NET_TUN)
|
#elif defined(CONFIG_NET_TUN)
|
||||||
# define NET_DEVNAME "tun0"
|
# define NET_DEVNAME "tun0"
|
||||||
# define NETINIT_HAVE_NETDEV
|
# define NETINIT_HAVE_NETDEV
|
||||||
#elif defined(CONFIG_NET_LOCAL)
|
#elif defined(CONFIG_NET_LOOPBACK)
|
||||||
# define NET_DEVNAME "lo"
|
# define NET_DEVNAME "lo"
|
||||||
# define NETINIT_HAVE_NETDEV
|
# define NETINIT_HAVE_NETDEV
|
||||||
#elif defined(CONFIG_NET_CAN)
|
#elif defined(CONFIG_NET_CAN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user