Author: cgutman
Date: Sat Jul 11 08:54:44 2009
New Revision: 41858
URL:
http://svn.reactos.org/svn/reactos?rev=41858&view=rev
Log:
- Initialize remote address to 0 if the caller didn't specify one
Modified:
trunk/reactos/lib/drivers/ip/transport/datagram/datagram.c
Modified: trunk/reactos/lib/drivers/ip/transport/datagram/datagram.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/d…
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/datagram/datagram.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/datagram/datagram.c [iso-8859-1] Sat Jul 11
08:54:44 2009
@@ -266,7 +266,8 @@
}
else
{
- ReceiveRequest->RemotePort = 0;
+ ReceiveRequest->RemotePort = 0;
+ AddrInitIPv4(&ReceiveRequest->RemoteAddress, 0);
}
IoMarkIrpPending(Irp);