tcpip_adapter: use dhcp callback to post got ip event

This commit is contained in:
Wu Jian Gang
2016-09-02 20:27:22 +08:00
parent 3cf377b06e
commit c3af6e51d7
2 changed files with 49 additions and 54 deletions

View File

@@ -34,9 +34,9 @@ struct ip_info {
/* Also used by dhcpserver.h */
struct dhcps_lease {
bool enable;
ip4_addr_t start_ip;
ip4_addr_t end_ip;
bool enable;
ip4_addr_t start_ip;
ip4_addr_t end_ip;
};
typedef struct dhcps_lease tcpip_adapter_dhcps_lease;