pull/7/head
Jeff Becker 6 years ago
parent a8567b0d21
commit 24960ca47b

@ -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) >> 4 == 16)); || (byte1 == 172 && (byte2 => 16 || byte2 <= 31));
} }
bool bool

Loading…
Cancel
Save