diff options
author | Michael Brown | 2006-04-28 16:15:21 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-28 16:15:21 +0200 |
commit | 5fe31f10143e6a9517a1ae9c0efac3aca6809852 (patch) | |
tree | 1fcad13bf0ca2385f2867bf14b31fbd887825c8e /src/proto | |
parent | Network layer now works as a proof of concept (diff) | |
download | ipxe-5fe31f10143e6a9517a1ae9c0efac3aca6809852.tar.gz ipxe-5fe31f10143e6a9517a1ae9c0efac3aca6809852.tar.xz ipxe-5fe31f10143e6a9517a1ae9c0efac3aca6809852.zip |
Give uIP a static IP address for proof-of-concept testing
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/uip/uipopt.h | 11 |
1 files changed, 11 insertions, 0 deletions
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__ */ |