From 83c41f3697215235f449310e1f0b509c1e3044f1 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 15 Apr 2023 07:46:10 -0700 Subject: [PATCH] net/netcheck: remove unused method from interface Updates #2331 Updates #5162 Change-Id: I77ff956c2d59bde611d47523659a07afb4a6da2d Signed-off-by: Brad Fitzpatrick --- net/netcheck/netcheck.go | 1 - 1 file changed, 1 deletion(-) diff --git a/net/netcheck/netcheck.go b/net/netcheck/netcheck.go index 54f31f065..5c4a6391d 100644 --- a/net/netcheck/netcheck.go +++ b/net/netcheck/netcheck.go @@ -208,7 +208,6 @@ type Client struct { // reusing an existing UDP connection. type STUNConn interface { WriteToUDPAddrPort([]byte, netip.AddrPort) (int, error) - WriteTo([]byte, net.Addr) (int, error) ReadFrom([]byte) (int, net.Addr, error) }