diff options
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index c00406338..9194602bd 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -688,7 +688,7 @@ try_next_line: int is_internal_IP(uint32_t ip) { - if (((ip & 0xff000000) == 0xa0000000) || /* 10/8 */ + if (((ip & 0xff000000) == 0x0a000000) || /* 10/8 */ ((ip & 0xff000000) == 0x00000000) || /* 0/8 */ ((ip & 0xff000000) == 0x7f000000) || /* 127/8 */ ((ip & 0xffff0000) == 0xa9fe0000) || /* 169.254/16 */ |