|
|
|
|
@ -703,7 +703,7 @@ static void route_bgp_start_link_nat_check(struct ROUTE_BGP* bgp, struct ETCP_LI
|
|
|
|
|
target_port = ntohs(sin->sin_port); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// if (!is_local_subnet(target_ip)) { DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "local ip: %s, skip nat check", ip_to_str(&target_ip, AF_INET).str); return; }
|
|
|
|
|
if (is_local_subnet(target_ip)) { DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "local connection: %s, skip nat check", ip_to_str(&target_ip, AF_INET).str); return; } |
|
|
|
|
|
|
|
|
|
// Allocate callback arg
|
|
|
|
|
struct nat_check_arg* arg = u_calloc(1, sizeof(struct nat_check_arg)); |
|
|
|
|
|