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