Zero length packets cannot be received now in get_raw_packet().

This commit is contained in:
Nicholas J. Kain 2010-11-12 20:15:15 -05:00
parent 0b1a3b4c14
commit 2ae6025110

View File

@ -200,11 +200,6 @@ int get_raw_packet(struct dhcpMessage *payload, int fd)
len += r;
}
if (len == 0) {
usleep(50000);
return -2;
}
if (len < header_size) {
log_line("Message too short to contain IP + UDP headers, ignoring");
sleep(1);