david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Give uIP a static IP address for proof-of-concept testing

This commit is contained in:
Michael Brown 2006-04-28 14:15:21 +00:00
parent 129c6c3968
commit 5fe31f1014
1 changed files with 11 additions and 0 deletions

View File

@ -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__ */