[ros-diffs] [cgutman] 38730: - Discard unrecognized packets instead of passing them to protocol 0
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Mon Jan 12 19:07:37 CET 2009
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/ip/network/ip.c?rev=38730&r1=38729&r2=38730&view=diff
==============================================================================
--- 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 &&
More information about the Ros-diffs
mailing list