mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
[net][route] fix Mico definition bug
Signed-off-by: meijian <meijian@xiaomi.com>
This commit is contained in:
parent
667b9eabdd
commit
35f8c19112
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ROUTE_IPv6_CACHEROUTE
|
||||
#ifdef CONFIG_ROUTE_IPv4_CACHEROUTE
|
||||
# define IPv4_ROUTER entry.router
|
||||
#else
|
||||
# define IPv4_ROUTER router
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ROUTE_IPv6_CACHEROUTE
|
||||
#ifdef CONFIG_ROUTE_IPv4_CACHEROUTE
|
||||
# define IPv4_ROUTER entry.router
|
||||
#else
|
||||
# define IPv4_ROUTER router
|
||||
|
|
Loading…
Reference in a new issue