mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Make some conditional compilation consistent
This commit is contained in:
@@ -112,6 +112,7 @@ const net_ipv6addr_t g_ipv6_allrouters = /* All link local routers */
|
||||
HTONS(0x0002)
|
||||
};
|
||||
|
||||
#ifdef CONFIG_NET_ICMPv6_AUTOCONF
|
||||
/* Link-Local Address: Link-local addresses have "1111 1110 10" for the
|
||||
* first ten bits followed by 54 zeroes and then the 64 bit interface
|
||||
* identifier (typically derived from the data link layer address).
|
||||
@@ -121,6 +122,7 @@ const net_ipv6addr_t g_ipv6_llnetmask = /* Netmask for local link address */
|
||||
{
|
||||
0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000
|
||||
};
|
||||
#endif /* CONFIG_NET_ICMPv6_AUTOCONF */
|
||||
|
||||
#ifdef CONFIG_NET_ETHERNET
|
||||
|
||||
|
||||
Reference in New Issue
Block a user