Skip to content
Snippets Groups Projects
Commit 487be8a1 authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

hack for bootp support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1089 c046a42c-6fe2-441c-8c8c-71466251a162
parent 2518bd0d
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,9 @@ static void bootp_reply(struct bootp_t *bp)
dhcp_decode(bp->bp_vend, DHCP_OPT_LEN, &dhcp_msg_type);
dprintf("bootp packet op=%d msgtype=%d\n", bp->bp_op, dhcp_msg_type);
if (dhcp_msg_type == 0)
dhcp_msg_type = DHCPREQUEST; /* Force reply for old BOOTP clients */
if (dhcp_msg_type != DHCPDISCOVER &&
dhcp_msg_type != DHCPREQUEST)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment