mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 09:06:55 +08:00
Fix DHCP unit test after my last changes
This commit is contained in:
@@ -156,7 +156,7 @@ static u8_t xid_initialised;
|
||||
|
||||
static struct udp_pcb *dhcp_pcb;
|
||||
static u8_t dhcp_pcb_refcount;
|
||||
static u8_t dhcp_netif_client_id;
|
||||
u8_t dhcp_netif_client_id;
|
||||
|
||||
/* DHCP client state machine functions */
|
||||
static err_t dhcp_discover(struct netif *netif);
|
||||
|
||||
@@ -120,6 +120,8 @@ void dhcp_coarse_tmr(void);
|
||||
void dhcp_fine_tmr(void);
|
||||
void dhcp_init(void);
|
||||
|
||||
/* for use in unit tests only */
|
||||
extern u8_t dhcp_netif_client_id;
|
||||
|
||||
#if LWIP_DHCP_GET_NTP_SRV
|
||||
/** This function must exist, in other to add offered NTP servers to
|
||||
|
||||
Reference in New Issue
Block a user