Use libevent to age learned MAC addresses.

This commit is contained in:
Guus Sliepen 2007-05-17 23:24:40 +00:00
parent a530f94e7c
commit 8852d4407d
3 changed files with 42 additions and 34 deletions

View file

@ -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) {