update private range

This commit is contained in:
Jeff Becker 2018-07-30 15:37:05 +10:00
parent 3b82dfd818
commit 3ee597d880

View File

@ -220,7 +220,7 @@ namespace llarp
unsigned byte1 = byte >> 24 & 0xff; unsigned byte1 = byte >> 24 & 0xff;
unsigned byte2 = byte >> 16 & 0xff; unsigned byte2 = byte >> 16 & 0xff;
return (byte1 == 10 || (byte1 == 192 && byte2 == 168) return (byte1 == 10 || (byte1 == 192 && byte2 == 168)
|| (byte1 == 172 && (byte2 & 0xf0) == 16)); || (byte1 == 172);
} }
bool bool