1
This commit is contained in:
1 parent
317084307f
commit
0e305f374d
1 file changed
+1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user