|
|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|
|