|
|
|
|
@ -976,10 +976,10 @@ void route_bgp_send_nat_info(struct ETCP_CONN* conn, uint8_t socket_id, uint32_t
|
|
|
|
|
e->dgram = (uint8_t*)pkt; |
|
|
|
|
e->len = sizeof(struct BGP_NAT_INFO); |
|
|
|
|
etcp_send(conn, e); |
|
|
|
|
DEBUG_INFO(DEBUG_CATEGORY_BGP, "route_bgp_send_nat_info to %s: socket_id=%u type=%s ip=%08x port=%u", |
|
|
|
|
DEBUG_INFO(DEBUG_CATEGORY_BGP, "route_bgp_send_nat_info to %s: socket_id=%u type=%s ip=%s port=%u", |
|
|
|
|
conn->log_name, socket_id, |
|
|
|
|
nat_type == NAT_TYPE_OPEN ? "OPEN" : "RESTRICTED", |
|
|
|
|
(unsigned)nat_ip, (unsigned)nat_port); |
|
|
|
|
ip_to_str(&nat_ip, AF_INET).str, (unsigned)nat_port); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void route_bgp_send_nat_check_req(struct ETCP_CONN* conn, uint8_t socket_id) { |
|
|
|
|
|