From 35f8c19112fc533e6a58429d077c618e5f4fc467 Mon Sep 17 00:00:00 2001 From: meijian Date: Wed, 20 Mar 2024 15:45:02 +0800 Subject: [PATCH] [net][route] fix Mico definition bug Signed-off-by: meijian --- net/route/net_router.c | 2 +- net/route/netdev_router.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/route/net_router.c b/net/route/net_router.c index a3922d042c..c1a135685c 100644 --- a/net/route/net_router.c +++ b/net/route/net_router.c @@ -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 diff --git a/net/route/netdev_router.c b/net/route/netdev_router.c index d186802c1f..8ba711736e 100644 --- a/net/route/netdev_router.c +++ b/net/route/netdev_router.c @@ -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