From 3b95e284fcf06a5d6a8b4b1a00e079db69ee1733 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 8 Dec 2007 23:04:34 +0000 Subject: [PATCH] Allow to actually configure active open support via UIP_CONF_ACTIVE_OPEN. Is there any reason I don't understand why this wasn't allowed? At least it seems to work... --- 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 ebefed71f..972739b2d 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.4 2007/04/11 00:29:12 oliverschmidt Exp $ + * $Id: uipopt.h,v 1.5 2007/12/08 23:04:34 oliverschmidt Exp $ * */ @@ -240,7 +240,11 @@ * * \hideinitializer */ +#ifndef UIP_CONF_ACTIVE_OPEN #define UIP_ACTIVE_OPEN 1 +#else /* UIP_CONF_ACTIVE_OPEN */ +#define UIP_ACTIVE_OPEN UIP_CONF_ACTIVE_OPEN +#endif /* UIP_CONF_ACTIVE_OPEN */ /** * The maximum number of simultaneously open TCP connections.