ipn: fix the typo causing NoSNAT always set to true (#19110)

Fixes #19109

Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com>
This commit is contained in:
KevinLiang10
2026-03-24 16:41:58 -04:00
committed by GitHub
parent 066ce9a7b0
commit 1e51d57cdd
+1 -1
View File
@@ -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