You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
ip_forward.go net/netutil: parse IP forwarding val as int, not bool (#8455) 1 year ago
netutil.go all: update copyright and license headers 2 years ago
netutil_test.go net/netutil: only check Linux sysctls w/ procfs, assume absent means false 2 years ago