diff options
Diffstat (limited to 'nuttx/include/net/uip/dhcpc.h')
-rw-r--r-- | nuttx/include/net/uip/dhcpc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/include/net/uip/dhcpc.h b/nuttx/include/net/uip/dhcpc.h index 13b717e43..12f3f0a9b 100644 --- a/nuttx/include/net/uip/dhcpc.h +++ b/nuttx/include/net/uip/dhcpc.h @@ -56,10 +56,10 @@ struct dhcpc_state { uint16 lease_time[2]; uint8 serverid[4]; - uint16 ipaddr[2]; - uint16 netmask[2]; - uint16 dnsaddr[2]; - uint16 default_router[2]; + struct in_addr ipaddr; + struct in_addr netmask; + struct in_addr dnsaddr; + struct in_addr default_router; }; /**************************************************************************** |