This commit is contained in:
Jeff Becker 2018-07-30 15:47:54 +10:00
parent a8567b0d21
commit 24960ca47b

View File

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