TLS resumption: restrict session re-use
[exim.git] / src / src / transports / smtp.c
index 2f718a1e4302ef04596cbb9d60a24f7868f86ca5..f9e319c790f5791154b22db04e5609d28263f3fa 100644 (file)
@@ -2665,6 +2665,7 @@ if (  smtp_peer_options & OPTION_TLS
   else
   TLS_NEGOTIATE:
     {
+    sx->conn_args.sending_ip_address = sending_ip_address;
     if (!tls_client_start(&sx->cctx, &sx->conn_args, sx->addrlist, &tls_out, &tls_errstr))
       {
       /* TLS negotiation failed; give an error. From outside, this function may