Fix the return values of dhcp_packet_get and arp_packet_get.
This corrects a bug where stale dhcp packets would get reprocessed, causing very bad behavior; an issue that was introduced in the coroutine conversion.
This commit is contained in:
@ -292,10 +292,10 @@ static void do_ndhc_work(void)
|
||||
else
|
||||
suicide("epoll_wait failed");
|
||||
}
|
||||
int sev_dhcp = -1;
|
||||
bool sev_dhcp = false;
|
||||
uint32_t dhcp_srcaddr;
|
||||
uint8_t dhcp_msgtype;
|
||||
int sev_arp = ARPP_NONE;
|
||||
bool sev_arp = false;
|
||||
int sev_nl = IFS_NONE;
|
||||
int sev_rfk = RFK_NONE;
|
||||
int sev_signal = SIGNAL_NONE;
|
||||
|
Reference in New Issue
Block a user