mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
meh
This commit is contained in:
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…
Reference in New Issue
Block a user