|
|
|
@ -1465,7 +1465,7 @@ process_decrypted: |
|
|
|
link->nat_ip = new_nat_ip; |
|
|
|
link->nat_ip = new_nat_ip; |
|
|
|
link->nat_port = new_nat_port; |
|
|
|
link->nat_port = new_nat_port; |
|
|
|
struct in_addr addr; |
|
|
|
struct in_addr addr; |
|
|
|
addr.s_addr = htonl(new_nat_ip); |
|
|
|
addr.s_addr = new_nat_ip; |
|
|
|
DEBUG_INFO(DEBUG_CATEGORY_CONNECTION, "[%s] NAT address initialized: %s:%u",
|
|
|
|
DEBUG_INFO(DEBUG_CATEGORY_CONNECTION, "[%s] NAT address initialized: %s:%u",
|
|
|
|
link->etcp->log_name, ip_to_str(&addr, AF_INET).str, new_nat_port); |
|
|
|
link->etcp->log_name, ip_to_str(&addr, AF_INET).str, new_nat_port); |
|
|
|
} else if (link->nat_ip != new_nat_ip || link->nat_port != new_nat_port) { |
|
|
|
} else if (link->nat_ip != new_nat_ip || link->nat_port != new_nat_port) { |
|
|
|
|