Fixed minor issue with the RNDISEthernet demo DHCP protocol decoder routine using incorrectly named variables (thanks to Jonathan Oakley).

Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei).
This commit is contained in:
Dean Camera 2009-04-15 00:56:12 +00:00
parent ecaf872177
commit ef06bfd1c0
4 changed files with 18 additions and 5 deletions

View file

@ -273,7 +273,7 @@ void DecodeDHCPHeader(void* InDataStart)
}
}
DHCPOptionsINStart += ((DHCPOptionsINStart[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptionsINStart[1] + 2));
DHCPOptions += ((DHCPOptions[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptions[1] + 2));
}
#endif