diff options
author | Eric Wong <e@80x24.org> | 2021-02-07 23:05:13 -1000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-08 22:07:43 +0000 |
commit | 860169adcd29341142b7c4a369c09b4ac492bd1e (patch) | |
tree | f08dcf8bd04efaeb0904a6cec40665c107482cac /t/imapd-tls.t | |
parent | fb6aa4da304125a3fb7932e1335be85ff260e031 (diff) | |
download | public-inbox-860169adcd29341142b7c4a369c09b4ac492bd1e.tar.gz |
IPv4 gets plenty of real-world coverage, and apparently there's Debian buildd hosts which lack IPv4(*). So ensure everything can work on IPv6 and not cause problems for odd setups. (*) https://bugs.debian.org/979432
Diffstat (limited to 't/imapd-tls.t')
-rw-r--r-- | t/imapd-tls.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/imapd-tls.t b/t/imapd-tls.t index e40ae1e8..ab90ddec 100644 --- a/t/imapd-tls.t +++ b/t/imapd-tls.t @@ -70,8 +70,8 @@ EOF } } -my $imaps_addr = $imaps->sockhost . ':' . $imaps->sockport; -my $starttls_addr = $starttls->sockhost . ':' . $starttls->sockport; +my $imaps_addr = tcp_host_port($imaps); +my $starttls_addr = tcp_host_port($starttls); my $env = { PI_CONFIG => $pi_config }; my $td; |