Fixed minor issue with the RNDISEthernet demo DHCP protocol decoder routine using...
[pub/USBasp.git] / Demos / Device / RNDISEthernet / ProtocolDecoders.c
index db5da3c..add0333 100644 (file)
@@ -273,7 +273,7 @@ void DecodeDHCPHeader(void* InDataStart)
                        }\r
                }\r
                \r
                        }\r
                }\r
                \r
-               DHCPOptionsINStart += ((DHCPOptionsINStart[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptionsINStart[1] + 2));\r
+               DHCPOptions += ((DHCPOptions[0] == DHCP_OPTION_PAD) ? 1 : (DHCPOptions[1] + 2));\r
        }\r
 \r
        #endif\r
        }\r
 \r
        #endif\r