mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
modify dhcp offer MTU to 1500
This commit is contained in:
parent
d7d559a489
commit
1bab62a6d6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user