This commit is contained in:
Evgeny committed 2026-04-15 16:17:41 +03:00
1 parent fdd4ec02f6
commit 70deb254b6
1 file changed
+2
+2
View File
@@ -313,6 +313,8 @@ int is_local_subnet(uint32_t ip) {
uint8_t first_octet = bip[0];
uint8_t second_octet = bip[1];
DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "check ip %d.%d : ", first_octet, second_octet);
if (first_octet == 0) return 1;
if (first_octet == 10) return 1;
if (first_octet == 127) return 1;