From 17790ce46a3b118d462c5c0d7c48a971b5f4ab41 Mon Sep 17 00:00:00 2001 From: c_oflynn Date: Tue, 2 Dec 2008 22:04:16 +0000 Subject: [PATCH] Bug fix by David Kopf - sicslowpan timeout was always set at 20 seconds, this greatly improves performance!! --- core/net/uipopt.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/net/uipopt.h b/core/net/uipopt.h index 4271c5679..2b04cb9fd 100644 --- a/core/net/uipopt.h +++ b/core/net/uipopt.h @@ -58,7 +58,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: uipopt.h,v 1.8 2008/10/14 09:40:56 julienabeille Exp $ + * $Id: uipopt.h,v 1.9 2008/12/02 22:04:16 c_oflynn Exp $ * */ @@ -462,7 +462,11 @@ * Timeout for packet reassembly at the 6lowpan layer * (should be < 60s) */ +#ifdef SICSLOWPAN_CONF_MAXAGE +#define SICSLOWPAN_REASS_MAXAGE SICSLOWPAN_CONF_MAXAGE +#else #define SICSLOWPAN_REASS_MAXAGE 20 +#endif /** * Do we compress the IP header or not (default: no)