networkprotocols/tcpipv4v6prt/src/tcp.cpp
branchRCL_3
changeset 21 abbed5a4b42a
parent 20 7e41d162e158
child 22 8d540f55e491
--- a/networkprotocols/tcpipv4v6prt/src/tcp.cpp	Thu Aug 19 11:25:30 2010 +0300
+++ b/networkprotocols/tcpipv4v6prt/src/tcp.cpp	Tue Aug 31 16:45:15 2010 +0300
@@ -263,13 +263,6 @@
 #ifdef _LOG
 		LogPacket('<', seg, info, info->iOffset);
 		pkt.Set(seg, info->iOffset, pkt.iHdr->HeaderLength()); // LogPacket() may have realigned the header.
-
-		if (!pkt.iHdr)
-			{
-			LOG(Log::Printf(_L("\ttcp Process() header alignment failed. Packet discarded")));
-			seg.Free();
-			return;
-			}
 #endif
 
 		// Verify TCP checksum