wgengine/router: stop cleaning up old dev rules on Linux

Anybody using that one old, unreleased version of Tailscale from over
a year ago should've rebooted their machine by now to get various
non-Tailscale security updates. :)

Change-Id: If9e043cb008b20fcd6ddfd03756b3b23a9d7aeb5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-10-28 12:26:56 -07:00
parent c9bf773312
commit aad46bd9ff

View File

@ -891,15 +891,6 @@ func (r *linuxRouter) delIPRules() error {
// versions without having ongoing hacks for every possible // versions without having ongoing hacks for every possible
// combination. // combination.
// Delete old-style tailscale rules
// (never released in a stable version, so we can drop this
// support eventually).
rg.Run(
"ip", family, "rule", "del",
"pref", "10000",
"table", "main",
)
// Delete new-style tailscale rules. // Delete new-style tailscale rules.
rg.Run( rg.Run(
"ip", family, "rule", "del", "ip", family, "rule", "del",