View | Details | Raw Unified | Return to bug 188092
Collapse All | Expand All

(-)sys/netinet/ip_icmp.c (+2 lines)
Lines 332-337 stdreply: icmpelen = max(8, min(V_icmp_q Link Here
332
	 * reply should bypass as well.
332
	 * reply should bypass as well.
333
	 */
333
	 */
334
	m->m_flags |= n->m_flags & M_SKIP_FIREWALL;
334
	m->m_flags |= n->m_flags & M_SKIP_FIREWALL;
335
	m->m_flags &= ~(M_FRAG | M_FIRSTFRAG | M_LASTFRAG);
335
	m->m_data -= sizeof(struct ip);
336
	m->m_data -= sizeof(struct ip);
336
	m->m_len += sizeof(struct ip);
337
	m->m_len += sizeof(struct ip);
337
	m->m_pkthdr.len = m->m_len;
338
	m->m_pkthdr.len = m->m_len;
Lines 343-348 stdreply: icmpelen = max(8, min(V_icmp_q Link Here
343
	nip->ip_hl = 5;
344
	nip->ip_hl = 5;
344
	nip->ip_p = IPPROTO_ICMP;
345
	nip->ip_p = IPPROTO_ICMP;
345
	nip->ip_tos = 0;
346
	nip->ip_tos = 0;
347
	nip->ip_off = 0;
346
	icmp_reflect(m);
348
	icmp_reflect(m);
347
349
348
freeit:
350
freeit:

Return to bug 188092