Timeouts configurable at run-time

This commit is contained in:
adamdunkels 2007-03-25 12:06:28 +00:00
parent e12086c980
commit f69268b4ab
7 changed files with 37 additions and 19 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: neighbor.c,v 1.6 2007/03/24 13:57:04 oliverschmidt Exp $
* $Id: neighbor.c,v 1.7 2007/03/25 12:06:28 adamdunkels Exp $
*/
/**
@ -215,3 +215,9 @@ neighbor_best(void)
return NULL;
}
/*---------------------------------------------------------------------------*/
void
neighbor_set_lifetime(int seconds)
{
max_time = seconds;
}
/*---------------------------------------------------------------------------*/