From 0368a6bab3f4e1031a6cd17f3bff16613d8c82ba Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 26 Jul 2024 20:01:49 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20/quic=20=E2=86=92=20/quic-v1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/libp2p-host/host.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/libp2p-host/host.go b/examples/libp2p-host/host.go index 0d90370376..8010dccaf0 100644 --- a/examples/libp2p-host/host.go +++ b/examples/libp2p-host/host.go @@ -58,8 +58,8 @@ func run() { libp2p.Identity(priv), // Multiple listen addresses libp2p.ListenAddrStrings( - "/ip4/0.0.0.0/tcp/9000", // regular tcp connections - "/ip4/0.0.0.0/udp/9000/quic", // a UDP endpoint for the QUIC transport + "/ip4/0.0.0.0/tcp/9000", // regular tcp connections + "/ip4/0.0.0.0/udp/9000/quic-v1", // a UDP endpoint for the QUIC transport ), // support TLS connections libp2p.Security(libp2ptls.ID, libp2ptls.New),