Commit 44bbf73f authored by bellard's avatar bellard
Browse files

dhcp packet size fix (aka pump fix)

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 00ffa62a
......@@ -225,7 +225,8 @@ static void bootp_reply(struct bootp_t *bp)
*q++ = RFC1533_END;
m->m_len = sizeof(struct bootp_t);
m->m_len = sizeof(struct bootp_t) -
sizeof(struct ip) - sizeof(struct udphdr);
udp_output2(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment