[app][netlink_route] fix get route netlink bugs

Signed-off-by: meijian <meijian@xiaomi.com>
This commit is contained in:
meijian 2024-04-10 11:20:19 +08:00 committed by Xiang Xiao
parent 02f88fbcaa
commit 8d1bb4cfe8
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
****************************************************************************/ ****************************************************************************/
#define MAX_DEVICES 16 #define MAX_DEVICES 16
#define MAX_ROUTES 64 #define MAX_ROUTES 4
#ifdef CONFIG_NET_IPv6 #ifdef CONFIG_NET_IPv6
# define ROUTE_BUFSIZE INET6_ADDRSTRLEN # define ROUTE_BUFSIZE INET6_ADDRSTRLEN

View File

@ -43,7 +43,7 @@
* Pre-processor definitions * Pre-processor definitions
****************************************************************************/ ****************************************************************************/
#define RXBUFFER_SIZE 64 #define RXBUFFER_SIZE 128
/**************************************************************************** /****************************************************************************
* Private Types * Private Types