SoftEtherVPN / Win10Pcap

Win10Pcap: WinPcap for Windows 10 (NDIS 6.x driver model)
Other
337 stars 122 forks source link

Incorrect endianness check #14

Open I-gor-C opened 7 years ago

I-gor-C commented 7 years ago

The implementation of SeIsLittleEndian appears to be incorrect. It tests an address of a variable instead of testing the contents. Since the address isn't 0, the function always returns true. I've submitted a proposed fix.