From 1e51d57cddf617508c7523fa0c2b1171cfd82101 Mon Sep 17 00:00:00 2001 From: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> Date: Tue, 24 Mar 2026 16:41:58 -0400 Subject: [PATCH] ipn: fix the typo causing NoSNAT always set to true (#19110) Fixes #19109 Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> --- ipn/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipn/conf.go b/ipn/conf.go index acedc44c1..de127a28a 100644 --- a/ipn/conf.go +++ b/ipn/conf.go @@ -117,7 +117,7 @@ func (c *ConfigVAlpha) ToPrefs() (MaskedPrefs, error) { } if c.DisableSNAT != "" { mp.NoSNAT = c.DisableSNAT.EqualBool(true) - mp.NoSNAT = true + mp.NoSNATSet = true } if c.NoStatefulFiltering != "" { mp.NoStatefulFiltering = c.NoStatefulFiltering