mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
net/neighbor: Simplify the neighbor table aging process
This commit is contained in:
@@ -50,7 +50,6 @@
|
||||
|
||||
#include "devif/devif.h"
|
||||
#include "arp/arp.h"
|
||||
#include "neighbor/neighbor.h"
|
||||
#include "tcp/tcp.h"
|
||||
#include "udp/udp.h"
|
||||
#include "pkt/pkt.h"
|
||||
@@ -787,12 +786,6 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
/* Perform aging on the entries in the Neighbor Table */
|
||||
|
||||
neighbor_periodic(hsec);
|
||||
#endif
|
||||
|
||||
#ifdef NET_TCP_HAVE_STACK
|
||||
/* Traverse all of the active TCP connections and perform the
|
||||
* timer action.
|
||||
|
||||
Reference in New Issue
Block a user