From 61a8fa9977a0078af84ca5e41890c84a1ff5d686 Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Fri, 22 Nov 2013 15:44:48 +0100 Subject: [PATCH] Allow the default TTL to be configured with UIP_CONF_TTL --- core/net/uipopt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/net/uipopt.h b/core/net/uipopt.h index 7c9939003..ce871985f 100644 --- a/core/net/uipopt.h +++ b/core/net/uipopt.h @@ -144,7 +144,11 @@ * * This should normally not be changed. */ +#ifdef UIP_CONF_TTL +#define UIP_TTL UIP_CONF_TTL +#else /* UIP_CONF_TTL */ #define UIP_TTL 64 +#endif /* UIP_CONF_TTL */ /** * The maximum time an IP fragment should wait in the reassembly