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

(-)natd.c (-5 / +7 lines)
Lines 601-613 Link Here
601
		if (errno == ENOBUFS)
601
		if (errno == ENOBUFS)
602
			return;
602
			return;
603
603
604
		if (errno == EMSGSIZE) {
604
		if (errno == EMSGSIZE && packetDirection == OUTPUT) {
605
605
			if (ifMTU != -1)
606
			if (packetDirection == OUTPUT &&
606
				SendNeedFragIcmp(icmpSock,
607
			    ifMTU != -1)
608
				SendNeedFragIcmp (icmpSock,
609
						  (struct ip*) packetBuf,
607
						  (struct ip*) packetBuf,
610
						  ifMTU - aliasOverhead);
608
						  ifMTU - aliasOverhead);
609
			else
610
				SendNeedFragIcmp(icmpSock,
611
						  (struct ip*) packetBuf,
612
						  packetLen - aliasOverhead);
611
		}
613
		}
612
		else {
614
		else {
613
615

Return to bug 15494