diff --git a/include/llarp/net.hpp b/include/llarp/net.hpp index c763cead7..539bc2669 100644 --- a/include/llarp/net.hpp +++ b/include/llarp/net.hpp @@ -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) == 16)); + || (byte1 == 172); } bool