zephyr/modsocket: Be sure to define default gateway address (uip_draddr).
Talking to Internet won't work without this.hacking-on-plane
parent
1125d7890a
commit
3074d4f4e2
|
@ -58,6 +58,7 @@
|
|||
// These are uIP public interface variables wich specify this host address/netmask.
|
||||
uip_ipaddr_t uip_hostaddr = IPADDR;
|
||||
uip_ipaddr_t uip_netmask = { { 255, 255, 255, 0 } };
|
||||
uip_ipaddr_t uip_draddr = {{192, 0, 2, 1}};
|
||||
|
||||
static struct net_addr my_addr = {
|
||||
.family = AF_INET,
|
||||
|
|
Loading…
Reference in New Issue