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/util/linuxfw
James Tucker 2066f9fbb2 util/linuxfw: fix crash in DelSNATRule when no rules are found
Appears to be a missing nil handling case. I looked back over other
usage of findRule and the others all have nil guards. findRule returns
nil when no rules are found matching the arguments.

Fixes #9553
Signed-off-by: James Tucker <james@tailscale.com>
1 year ago
..
linuxfwtest
helpers.go
iptables.go
iptables_runner.go
iptables_runner_test.go
linuxfw.go
linuxfw_unsupported.go util/linuxfw: Fix comment which lists supported linux arches 1 year ago
nftables.go
nftables_runner.go util/linuxfw: fix crash in DelSNATRule when no rules are found 1 year ago
nftables_runner_test.go
nftables_types.go