From b51df1025175ef4b81dd1ecbb9d7ed389b8d1297 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 5 Nov 2021 01:52:54 +0100 Subject: global: use Go 1.18's netip helpers Signed-off-by: Jason A. Donenfeld --- conn/conn.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'conn/conn.go') diff --git a/conn/conn.go b/conn/conn.go index 35fb6b1..5a93b2b 100644 --- a/conn/conn.go +++ b/conn/conn.go @@ -9,11 +9,10 @@ package conn import ( "errors" "fmt" + "net/netip" "reflect" "runtime" "strings" - - "golang.zx2c4.com/go118/netip" ) // A ReceiveFunc receives a single inbound packet from the network. -- cgit v1.2.3