mirror of https://github.com/tailscale/tailscale/
router_linux: fix behaviour when switching --netfilter-mode.
On startup, and when switching into =off and =nodivert, we were deleting netfilter rules even if we weren't the ones that added them. In order to avoid interfering with rules added by the sysadmin, we have to be sure to delete rules only in the case that we added them in the first place. Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>pull/418/head
parent
a496cdc943
commit
9ff51909a3
Loading…
Reference in New Issue