diff options
| author | KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> | 2025-05-01 12:12:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-01 12:12:36 -0400 |
| commit | e05e620096adec4e866dd05d869d887d47c8bdf2 (patch) | |
| tree | d8e255cca44ef5c7a8777484c1566c0830ad1805 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | fe0090909b3ab7aa583093073445fde47fd1a818 (diff) | |
| download | tailscale-e05e620096adec4e866dd05d869d887d47c8bdf2.tar.xz tailscale-e05e620096adec4e866dd05d869d887d47c8bdf2.zip | |
util/linuxfw: fix delete snat rule (#15763)
* util/linuxfw: fix delete snat rule
This pr is fixing the bug that in nftables mode setting snat-subnet-routes=false doesn't
delete the masq rule in nat table.
Updates #15661
Signed-off-by: Kevin Liang <kevinliang@tailscale.com>
* change index arithmetic in test to chunk
Signed-off-by: Kevin Liang <kevinliang@tailscale.com>
* reuse rule creation function in rule delete
Signed-off-by: Kevin Liang <kevinliang@tailscale.com>
* add test for deleting the masq rule
Signed-off-by: Kevin Liang <kevinliang@tailscale.com>
---------
Signed-off-by: Kevin Liang <kevinliang@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
