From 5fe31f10143e6a9517a1ae9c0efac3aca6809852 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 28 Apr 2006 14:15:21 +0000 Subject: [PATCH] Give uIP a static IP address for proof-of-concept testing --- src/proto/uip/uipopt.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/proto/uip/uipopt.h b/src/proto/uip/uipopt.h index 22a5990c..70dd90ca 100644 --- a/src/proto/uip/uipopt.h +++ b/src/proto/uip/uipopt.h @@ -557,5 +557,16 @@ extern void uip_tcp_appcall ( void ); this. */ //#include "httpd.h" +#warning "Remove this static IP address hack" +#undef UIP_FIXEDADDR +#undef UIP_IPADDR0 +#undef UIP_IPADDR1 +#undef UIP_IPADDR2 +#undef UIP_IPADDR3 +#define UIP_FIXEDADDR 1 +#define UIP_IPADDR0 10 +#define UIP_IPADDR1 254 +#define UIP_IPADDR2 254 +#define UIP_IPADDR3 1 #endif /* __UIPOPT_H__ */