Use libevent to age learned MAC addresses.
This commit is contained in:
parent
a530f94e7c
commit
8852d4407d
3 changed files with 42 additions and 34 deletions
|
|
@ -36,7 +36,6 @@
|
|||
#include "netutl.h"
|
||||
#include "process.h"
|
||||
#include "protocol.h"
|
||||
#include "route.h"
|
||||
#include "subnet.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
|
|
@ -482,9 +481,6 @@ int main_loop(void)
|
|||
check_dead_connections();
|
||||
last_ping_check = now;
|
||||
|
||||
if(routing_mode == RMODE_SWITCH)
|
||||
age_subnets();
|
||||
|
||||
/* Should we regenerate our key? */
|
||||
|
||||
if(keyexpires < now) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue