[ros-diffs] [cgutman] 41723: - Fix corruption of ARP target protocol address - We were copying the address type (1 byte) and 3 bytes of the target address instead of all 4 bytes of the target address
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Wed Jul 1 07:14:57 CEST 2009
Author: cgutman
Date: Wed Jul 1 09:14:56 2009
New Revision: 41723
URL: http://svn.reactos.org/svn/reactos?rev=41723&view=rev
Log:
- Fix corruption of ARP target protocol address
- We were copying the address type (1 byte) and 3 bytes of the target address instead of all 4 bytes of the target address
Modified:
trunk/reactos/lib/drivers/ip/network/arp.c
Modified: trunk/reactos/lib/drivers/ip/network/arp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/arp.c?rev=41723&r1=41722&r2=41723&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/arp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/arp.c [iso-8859-1] Wed Jul 1 09:14:56 2009
@@ -147,7 +147,7 @@
Interface->Address, /* Sender's (local) hardware address */
&Interface->Unicast.Address.IPv4Address,/* Sender's (local) protocol address */
NULL, /* Don't care */
- &Address->Address, /* Target's (remote) protocol address */
+ &Address->Address.IPv4Address, /* Target's (remote) protocol address */
ARP_OPCODE_REQUEST); /* ARP request */
if( !NdisPacket ) return FALSE;
More information about the Ros-diffs
mailing list