tailscale/net/netutil
Ross Zurowski 832f1028c7
net/netutil: parse IP forwarding val as int, not bool (#8455)
This commit updates our IP forwarding parsing logic to allow the less
common but still valid value of `2` to be parsed as `true`, which fixes
an error some users encountered.

Fixes #8375

Signed-off-by: Ross Zurowski <ross@rosszurowski.com>
2023-06-27 15:00:42 -04:00
..
ip_forward.go net/netutil: parse IP forwarding val as int, not bool (#8455) 2023-06-27 15:00:42 -04:00
netutil_test.go net/netutil: only check Linux sysctls w/ procfs, assume absent means false 2023-02-08 12:23:36 -08:00
netutil.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00