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

Fixes #19109

Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com>
main
KevinLiang10 3 weeks ago committed by GitHub
parent 066ce9a7b0
commit 1e51d57cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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

Loading…
Cancel
Save