Allow the default TTL to be configured with UIP_CONF_TTL

This commit is contained in:
Adam Dunkels 2013-11-22 15:44:48 +01:00
parent d577d03e21
commit 61a8fa9977

View file

@ -144,7 +144,11 @@
* *
* This should normally not be changed. * This should normally not be changed.
*/ */
#ifdef UIP_CONF_TTL
#define UIP_TTL UIP_CONF_TTL
#else /* UIP_CONF_TTL */
#define UIP_TTL 64 #define UIP_TTL 64
#endif /* UIP_CONF_TTL */
/** /**
* The maximum time an IP fragment should wait in the reassembly * The maximum time an IP fragment should wait in the reassembly