From 83619902611877210187d7127728a7cba9ba9dc8 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 5 Feb 2022 03:15:12 +0800 Subject: [PATCH] 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 --- netutils/netinit/netinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netutils/netinit/netinit.c b/netutils/netinit/netinit.c index 4692f2bb1..4bb78e173 100644 --- a/netutils/netinit/netinit.c +++ b/netutils/netinit/netinit.c @@ -186,7 +186,7 @@ #elif defined(CONFIG_NET_TUN) # define NET_DEVNAME "tun0" # define NETINIT_HAVE_NETDEV -#elif defined(CONFIG_NET_LOCAL) +#elif defined(CONFIG_NET_LOOPBACK) # define NET_DEVNAME "lo" # define NETINIT_HAVE_NETDEV #elif defined(CONFIG_NET_CAN)