This commit is contained in:
Evgeny committed 2026-04-15 16:19:05 +03:00
1 parent 317084307f
commit 0e305f374d
1 file changed
+1
+1
View File
@@ -323,6 +323,7 @@ int is_local_subnet(uint32_t ip) {
if (first_octet == 172 && second_octet >= 16 && second_octet <= 31) return 1;
if (first_octet == 192 && second_octet == 168) return 1;
if (ip=0xffffffff) return 1;
DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "result: global ip %d.%d : ", first_octet, second_octet);
return 0;
}