- Copy correct data to our lookahead buffer. It was previously missing the media...
authorCameron Gutman <aicommander@gmail.com>
Tue, 20 Oct 2009 02:30:05 +0000 (02:30 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 20 Oct 2009 02:30:05 +0000 (02:30 +0000)
commit563555328176c7ab9ffcdecee03bf762a4d6cdca
tree69ffa2f8b47bd62a6bc26e9bf7d8e2be3f8735e1
parente31be82be37a17676a5a417ce9bae41bd44975ea
 - Copy correct data to our lookahead buffer. It was previously missing the media header which messed up the lookahead buffer size passed to ProtocolReceive
 - Fix the check for loopback indication. It was previously checking whether the source and destination packets were the same which makes no sense at all
 - Correct the offset and length passed to NdisCopyFromPacketToPacket. The caller's values of these don't include the header size but the packet does
 - Fixes a crash when running "ping 10.0.2.15 -l 1800" on vbox with NAT

svn path=/trunk/; revision=43635
reactos/drivers/network/ndis/ndis/protocol.c