X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ed031c1df2f5b053b9cd9f48c63e66a42b7c049e..526e398986583e2fb65c0a36a2fbf2ce153446e5:/Demos/Device/RNDISEthernet/ProtocolDecoders.c diff --git a/Demos/Device/RNDISEthernet/ProtocolDecoders.c b/Demos/Device/RNDISEthernet/ProtocolDecoders.c index f0e6ebba8..add0333f2 100644 --- a/Demos/Device/RNDISEthernet/ProtocolDecoders.c +++ b/Demos/Device/RNDISEthernet/ProtocolDecoders.c @@ -29,7 +29,7 @@ */ /* Protocol decoders for Ethernet, TCP, IP, ICMP and ARP. Each of these routines - accepts a header to the appropriate protocol and prints out pertient information + accepts a header to the appropriate protocol and prints out pertinent information on the packet through the serial port. To disable printing of a specific protocol, define the token NO_DECODE_{Protocol} @@ -39,7 +39,7 @@ /** \file * * Protocol decoding routines, for the plain-text decoding of Ethernet frames for debugging purposes. - * Enabled protocol decoders will print incomming Ethernet frame contents through the USART in a human + * Enabled protocol decoders will print incoming Ethernet frame contents through the USART in a human * readable format. * * Note that the USART is a slow transmission medium, and will slow down packet processing considerably. @@ -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