From 4c2ea20e0cba735edb76d4929a3ddd4dd30a5950 Mon Sep 17 00:00:00 2001 From: JackDoan Date: Wed, 15 Apr 2026 15:06:02 -0500 Subject: [PATCH] goddamnit --- overlay/tun_linux.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/overlay/tun_linux.go b/overlay/tun_linux.go index f0c95ead..97d34980 100644 --- a/overlay/tun_linux.go +++ b/overlay/tun_linux.go @@ -26,7 +26,6 @@ import ( type tun struct { io.ReadWriteCloser - fd int Device string vpnNetworks []netip.Prefix MaxMTU int @@ -137,7 +136,6 @@ func newTun(c *config.C, l *logrus.Logger, vpnNetworks []netip.Prefix, multiqueu func newTunGeneric(c *config.C, l *logrus.Logger, file *os.File, vpnNetworks []netip.Prefix) (*tun, error) { t := &tun{ ReadWriteCloser: file, - fd: int(file.Fd()), vpnNetworks: vpnNetworks, TXQueueLen: c.GetInt("tun.tx_queue", 500), useSystemRoutes: c.GetBool("tun.use_system_route_table", false),