NET: Fix some some more ARP/Ethernet releated configuration

This commit is contained in:
Gregory Nutt 2014-11-14 21:22:45 -06:00
parent 0d7c378e4e
commit 64d18bfe12
2 changed files with 4 additions and 4 deletions

View File

@ -89,11 +89,11 @@
# ifdef CONFIG_NET_IPv6 # ifdef CONFIG_NET_IPv6
# error "SLIP is not implemented for IPv6" # error "SLIP is not implemented for IPv6"
# endif # endif
# define NET_LL_HDRLEN 0 # define NET_LL_HDRLEN 0
#else #else
# define CONFIG_NET_ETHERNET 1 # define CONFIG_NET_ETHERNET 1
# define CONFIG_NET_ARP 1 # define CONFIG_NET_ARP 1
# define NET_LL_HDRLEN 14 # define NET_LL_HDRLEN 14
#endif #endif
/* Layer 3/4 Configuration Options ******************************************/ /* Layer 3/4 Configuration Options ******************************************/

View File

@ -7,8 +7,8 @@ menu "ARP Configuration"
config NET_ARP config NET_ARP
bool bool
default y if !NET_SLIP default y
default n if NET_SLIP depends on NET_ETHERNET
---help--- ---help---
This setting is currently overridden by logic in include/nuttx/net This setting is currently overridden by logic in include/nuttx/net