udhcpc: regularize the names of receiving functions,
pause on "serious failure to receive". Some misc fixes are also folded in here.
This commit is contained in:
@ -34,7 +34,7 @@ void udhcp_init_header(struct dhcpMessage *packet, char type)
|
||||
|
||||
|
||||
/* read a packet from socket fd, return -1 on read error, -2 on packet error */
|
||||
int udhcp_recv_packet(struct dhcpMessage *packet, int fd)
|
||||
int udhcp_recv_kernel_packet(struct dhcpMessage *packet, int fd)
|
||||
{
|
||||
int bytes;
|
||||
unsigned char *vendor;
|
||||
|
Reference in New Issue
Block a user