1
This commit is contained in:
1 parent
fdd4ec02f6
commit
70deb254b6
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user