Skip to content

Commit b4fd042

Browse files
JackLau1222Copilot
andcommitted
tls: use c->underlying_host for accuracy
Co-authored-by: Copilot <[email protected]>
1 parent feaea07 commit b4fd042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavformat/tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AV
137137
parent->protocol_whitelist, parent->protocol_blacklist, parent);
138138
if (c->is_dtls) {
139139
if (ret < 0) {
140-
av_log(c, AV_LOG_ERROR, "WHIP: Failed to connect udp://%s:%d\n", c->host, port);
140+
av_log(c, AV_LOG_ERROR, "WHIP: Failed to connect udp://%s:%d\n", c->underlying_host, port);
141141
return ret;
142142
}
143143
/* Make the socket non-blocking, set to READ and WRITE mode after connected */

0 commit comments

Comments
 (0)