From 90d9dd4c0823dfba6004437ce7cb6abc371a1ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Mon, 7 Oct 2024 10:35:53 +0200 Subject: [PATCH] Remove unused function from eBPF proxy --- client/internal/wgproxy/ebpf/wrapper.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/internal/wgproxy/ebpf/wrapper.go b/client/internal/wgproxy/ebpf/wrapper.go index 12908f1bc..fabd23768 100644 --- a/client/internal/wgproxy/ebpf/wrapper.go +++ b/client/internal/wgproxy/ebpf/wrapper.go @@ -67,16 +67,6 @@ func (p *ProxyWrapper) Pause() { p.pausedMu.Unlock() } -func (p *ProxyWrapper) Resume() { - if p.remoteConn == nil { - return - } - - p.pausedMu.Lock() - p.paused = false - p.pausedMu.Unlock() -} - // CloseConn close the remoteConn and automatically remove the conn instance from the map func (e *ProxyWrapper) CloseConn() error { if e.cancel == nil {