Author: cgutman
Date: Mon Jan 12 12:07:37 2009
New Revision: 38730
URL:
http://svn.reactos.org/svn/reactos?rev=38730&view=rev
Log:
- Discard unrecognized packets instead of passing them to protocol 0
Modified:
branches/aicom-network-fixes/lib/drivers/ip/network/ip.c
Modified: branches/aicom-network-fixes/lib/drivers/ip/network/ip.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers…
==============================================================================
--- branches/aicom-network-fixes/lib/drivers/ip/network/ip.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/lib/drivers/ip/network/ip.c [iso-8859-1] Mon Jan 12
12:07:37 2009
@@ -147,7 +147,8 @@
TI_DbgPrint(MIN_TRACE, ("IPv6 datagram discarded.\n"));
return;
default:
- Protocol = 0;
+ TI_DbgPrint(MIN_TRACE, ("Unrecognized datagram discarded.\n"));
+ return;
}
if (Protocol < IP_PROTOCOL_TABLE_SIZE &&