Don't copy the MF flag from original IP header to ICMP error message.

PR:		188092
MFC after:	1 week
Sponsored by:	Yandex LLC
This commit is contained in:
Andrey V. Elsukov 2014-03-31 13:00:49 +00:00
parent 52ee8ac027
commit 41ea685c32

View File

@ -348,6 +348,7 @@ stdreply: icmpelen = max(8, min(V_icmp_quotelen, ntohs(oip->ip_len) - oiphlen));
nip->ip_hl = 5;
nip->ip_p = IPPROTO_ICMP;
nip->ip_tos = 0;
nip->ip_off = 0;
icmp_reflect(m);
freeit: