diff --git a/src/route_lib.c b/src/route_lib.c index 90a1231b..0557bbe6 100644 --- a/src/route_lib.c +++ b/src/route_lib.c @@ -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;