diff --git a/core/net/neighbor-info.c b/core/net/neighbor-info.c index 76653a027..708587185 100644 --- a/core/net/neighbor-info.c +++ b/core/net/neighbor-info.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: neighbor-info.c,v 1.10 2010/09/15 15:10:25 nvt-se Exp $ + * $Id: neighbor-info.c,v 1.11 2010/09/15 15:59:52 nvt-se Exp $ */ /** * \file @@ -49,7 +49,7 @@ #endif /* DEBUG */ #ifndef ETX_CONF_LIMIT -#define ETX_LIMIT 10 +#define ETX_LIMIT 31 #else #define ETX_LIMIT ETX_CONF_LIMIT #endif /* !ETX_CONF_LIMIT */ @@ -57,7 +57,7 @@ #define ETX_SCALE 100 #define ETX_ALPHA 80 #define ETX_FIRST_GUESS 3 -#define ETX_LOSS_PENALTY 1 +#define ETX_LOSS_PENALTY ETX_LIMIT #define ETX2FIX(etx) ((etx) << 4) #define FIX2ETX(fix) ((fix) >> 4)