diff options
author | root <root@lab.ourano.james.local> | 2021-02-25 19:12:38 +0000 |
---|---|---|
committer | root <root@lab.ourano.james.local> | 2021-02-25 19:12:38 +0000 |
commit | 6d3a824e1cdae6e28146b7de380724b49488f3c2 (patch) | |
tree | b8865608c9749e4251b316b74484b5151f2e683b /app/lwip_glue.c | |
parent | 0548136a4c886830414fb575d9d0daa7f1a7d170 (diff) | |
download | clock-6d3a824e1cdae6e28146b7de380724b49488f3c2.tar.gz clock-6d3a824e1cdae6e28146b7de380724b49488f3c2.tar.bz2 clock-6d3a824e1cdae6e28146b7de380724b49488f3c2.zip |
tim
Diffstat (limited to 'app/lwip_glue.c')
-rw-r--r-- | app/lwip_glue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/lwip_glue.c b/app/lwip_glue.c index 03380a4..1e69fc0 100644 --- a/app/lwip_glue.c +++ b/app/lwip_glue.c @@ -59,17 +59,17 @@ void start_lwip (void) lwip_init(); -#if 1 +#if 0 IP4_ADDR (&ipaddr, 10, 32, 99, 73); IP4_ADDR (&netmask, 255, 255, 255, 0); IP4_ADDR (&gw, 10, 32, 99, 1); #else - IP4_ADDR (&ipaddr, 192, 168, 1, 1); + IP4_ADDR (&ipaddr, 10, 32, 96, 47); IP4_ADDR (&netmask, 255, 255, 255, 0); - IP4_ADDR (&gw, 192, 168, 1, 254); + IP4_ADDR (&gw, 10, 32, 96, 1); #endif - netif_add (&if0, &ipaddr, &netmask, &gw, NULL, steth_lwip_init , ethernet_input); + netif_add (&if0, &ipaddr, &netmask, &gw, NULL, steth_lwip_init, ethernet_input); /* Registers the default network interface.*/ netif_set_default (&if0); |