aboutsummaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2006-04-28 14:15:21 +0000
committerMichael Brown <mcb30@etherboot.org>2006-04-28 14:15:21 +0000
commit5fe31f10143e6a9517a1ae9c0efac3aca6809852 (patch)
tree1fcad13bf0ca2385f2867bf14b31fbd887825c8e /src/proto
parent129c6c3968d4967f091266ee8c7d99986080e201 (diff)
downloadipxe-5fe31f10143e6a9517a1ae9c0efac3aca6809852.tar.gz
Give uIP a static IP address for proof-of-concept testing
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/uip/uipopt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/proto/uip/uipopt.h b/src/proto/uip/uipopt.h
index 22a5990c0..70dd90ca2 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__ */