modify dhcp offer MTU to 1500

This commit is contained in:
zhangyanjiao 2018-05-28 19:46:46 +08:00
parent d7d559a489
commit 1bab62a6d6

View file

@ -373,13 +373,8 @@ static u8_t *add_offer_options(u8_t *optptr)
*optptr++ = DHCP_OPTION_INTERFACE_MTU;
*optptr++ = 2;
#ifdef CLASS_B_NET
*optptr++ = 0x05;
*optptr++ = 0xdc;
#else
*optptr++ = 0x02;
*optptr++ = 0x40;
#endif
*optptr++ = DHCP_OPTION_PERFORM_ROUTER_DISCOVERY;
*optptr++ = 1;