Don't set the IP_DF ("Don't fragment") flag in the IP header in IP output packets. See patch #5834.
This commit is contained in:
@@ -438,11 +438,7 @@ ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
|
||||
|
||||
IPH_VHLTOS_SET(iphdr, 4, IP_HLEN / 4, tos);
|
||||
IPH_LEN_SET(iphdr, htons(p->tot_len));
|
||||
#if IP_REASSEMBLY
|
||||
IPH_OFFSET_SET(iphdr, 0);
|
||||
#else
|
||||
IPH_OFFSET_SET(iphdr, htons(IP_DF));
|
||||
#endif /* IP_REASSEMBLY */
|
||||
IPH_ID_SET(iphdr, htons(ip_id));
|
||||
++ip_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user