Browse Source

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

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
5fe31f1014
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      src/proto/uip/uipopt.h

+ 11
- 0
src/proto/uip/uipopt.h View File

557
    this. */
557
    this. */
558
 //#include "httpd.h"
558
 //#include "httpd.h"
559
 
559
 
560
+#warning "Remove this static IP address hack"
561
+#undef UIP_FIXEDADDR
562
+#undef UIP_IPADDR0
563
+#undef UIP_IPADDR1
564
+#undef UIP_IPADDR2
565
+#undef UIP_IPADDR3
566
+#define UIP_FIXEDADDR 1
567
+#define UIP_IPADDR0 10
568
+#define UIP_IPADDR1 254
569
+#define UIP_IPADDR2 254
570
+#define UIP_IPADDR3 1
560
 
571
 
561
 #endif /* __UIPOPT_H__ */
572
 #endif /* __UIPOPT_H__ */

Loading…
Cancel
Save