summaryrefslogtreecommitdiffstats
path: root/app/lwip_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/lwip_glue.c')
-rw-r--r--app/lwip_glue.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/lwip_glue.c b/app/lwip_glue.c
index 556fa0e..03380a4 100644
--- a/app/lwip_glue.c
+++ b/app/lwip_glue.c
@@ -59,10 +59,15 @@ void start_lwip (void)
lwip_init();
- IP4_ADDR (&ipaddr, 10, 32, 94, 9);
+#if 1
+ IP4_ADDR (&ipaddr, 10, 32, 99, 73);
IP4_ADDR (&netmask, 255, 255, 255, 0);
- IP4_ADDR (&gw, 10, 32, 94, 1);
-
+ IP4_ADDR (&gw, 10, 32, 99, 1);
+#else
+ IP4_ADDR (&ipaddr, 192, 168, 1, 1);
+ IP4_ADDR (&netmask, 255, 255, 255, 0);
+ IP4_ADDR (&gw, 192, 168, 1, 254);
+#endif
netif_add (&if0, &ipaddr, &netmask, &gw, NULL, steth_lwip_init , ethernet_input);