From 255b98786a8da04dae4cce233047afdb56d74d05 Mon Sep 17 00:00:00 2001 From: EunBong Song Date: Thu, 13 Apr 2017 16:34:22 +0900 Subject: [PATCH] net/lwip: rename NET_ARP_TRUST_IP_MAC to NET_ETHARP_TRUST_IP_MAC In Kconfig NET_ETHARP_TRUST_IP_MAC is defined. However, in lwipopts.h NET_ARP_TRUST_IP_MAC is used. This patch changes NET_ARP_TRUST_IP_MAC to NET_ETHARP_TRUST_IP_MAC. Change-Id: I3e2384be95e38eaab35cdbd4d6b91d83b9397c34 Signed-off-by: EunBong Song --- build/configs/artik053/nettest/defconfig | 2 +- build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig | 2 +- os/include/net/lwip/lwipopts.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/configs/artik053/nettest/defconfig b/build/configs/artik053/nettest/defconfig index 24c2c6c..2627f5d 100644 --- a/build/configs/artik053/nettest/defconfig +++ b/build/configs/artik053/nettest/defconfig @@ -680,7 +680,7 @@ CONFIG_NET_TCP_SND_BUF=29200 CONFIG_NET_ARP=y CONFIG_NET_ARP_TABLESIZE=10 CONFIG_NET_ARP_QUEUEING=y -CONFIG_NET_ARP_TRUST_IP_MAC=y +CONFIG_NET_ETHARP_TRUST_IP_MAC=y CONFIG_NET_ETH_PAD_SIZE=0 # CONFIG_NET_ARP_STATIC_ENTRIES is not set diff --git a/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig b/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig index 9c9ead7..30f5538 100755 --- a/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig +++ b/build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig @@ -681,7 +681,7 @@ CONFIG_NET_TCP_SND_BUF=29200 CONFIG_NET_ARP=y CONFIG_NET_ARP_TABLESIZE=10 CONFIG_NET_ARP_QUEUEING=y -CONFIG_NET_ARP_TRUST_IP_MAC=y +CONFIG_NET_ETHARP_TRUST_IP_MAC=y CONFIG_NET_ETH_PAD_SIZE=0 # CONFIG_NET_ARP_STATIC_ENTRIES is not set diff --git a/os/include/net/lwip/lwipopts.h b/os/include/net/lwip/lwipopts.h index 4f9320e..5957c5c 100755 --- a/os/include/net/lwip/lwipopts.h +++ b/os/include/net/lwip/lwipopts.h @@ -89,7 +89,7 @@ #endif -#ifdef CONFIG_NET_ARP_TRUST_IP_MAC +#ifdef CONFIG_NET_ETHARP_TRUST_IP_MAC #define ETHARP_TRUST_IP_MAC 1 #else #define ETHARP_TRUST_IP_MAC 0 -- 2.7.4