diff --git a/src/sys/net/core/netif.c b/src/sys/net/core/netif.c index 1c61ea1..7736bd4 100644 --- a/src/sys/net/core/netif.c +++ b/src/sys/net/core/netif.c @@ -45,6 +45,8 @@ struct netif *netif_list = NULL; struct netif *netif_default = NULL; +struct route_cache *route_cache_list = NULL; + /*-----------------------------------------------------------------------------------*/ struct netif * netif_add(struct ip_addr *ipaddr, struct ip_addr *netmask, @@ -143,3 +145,9 @@ netif_list = netif_default = NULL; } /*-----------------------------------------------------------------------------------*/ +/* initialize the Route Cache */ +void +route_cache_init(void) +{ + route_cache_list = NULL; +}