Browse Source

1

congestion
Evgeny 6 months ago
parent
commit
09fa26bc2c
  1. 4
      src/route_bgp.c

4
src/route_bgp.c

@ -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->dgram = (uint8_t*)pkt;
e->len = sizeof(struct BGP_NAT_INFO); e->len = sizeof(struct BGP_NAT_INFO);
etcp_send(conn, e); 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, conn->log_name, socket_id,
nat_type == NAT_TYPE_OPEN ? "OPEN" : "RESTRICTED", 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) { void route_bgp_send_nat_check_req(struct ETCP_CONN* conn, uint8_t socket_id) {

Loading…
Cancel
Save