From e1e92f017ce272c2eea0b588c775059d0a8ece1c Mon Sep 17 00:00:00 2001 From: Wade Simmons Date: Tue, 20 Jan 2026 11:15:20 -0500 Subject: [PATCH] initialize routesFromSystem (#1580) This is a regression introduced by #1573. We need to initialize this map. Fixes: #1579 --- overlay/tun_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/overlay/tun_linux.go b/overlay/tun_linux.go index 917765d9..ea666f86 100644 --- a/overlay/tun_linux.go +++ b/overlay/tun_linux.go @@ -137,6 +137,7 @@ func newTunGeneric(c *config.C, l *logrus.Logger, file *os.File, vpnNetworks []n TXQueueLen: c.GetInt("tun.tx_queue", 500), useSystemRoutes: c.GetBool("tun.use_system_route_table", false), useSystemRoutesBufferSize: c.GetInt("tun.use_system_route_table_buffer_size", 0), + routesFromSystem: map[netip.Prefix]routing.Gateways{}, l: l, }