This commit is contained in:
Evgeny committed 2026-04-15 00:04:23 +03:00
1 parent c0c366bd83
commit 09fa26bc2c
1 file changed
+2 -2
+2 -2
View File
@@ -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) {