Skip to content

Commit 54834b9

Browse files
committed
lint: wgproxy unused var
1 parent 59e3af0 commit 54834b9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

intra/ipn/wgproxy.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,6 @@ func NewWgProxy(id string, ctl protect.Controller, px ProxyProvider, lp LinkProp
724724
return nil, err
725725
}
726726

727-
id = wgtun.id // has stripped prefixes (like FAST), if any
728-
729727
var wgep wgconn
730728
if wgtun.preferOffload {
731729
wgep = wg.NewEndpoint2(wgtun.who(), wgtun.serve, wgtun.remote, wgtun.listener, wgtun.amnezia)

0 commit comments

Comments
 (0)