Change v4/v6 tayga route deregistration order.

This commit is contained in:
2026-08-31 03:53:36 -04:00
parent 25790aae36
commit 6d4d0cc606
+1 -1
View File
@@ -69,8 +69,8 @@ tayga_stop()
echo 'stopping tayga' echo 'stopping tayga'
kill -2 "${rc_pid}" kill -2 "${rc_pid}"
route -6 del "${tayga_ipv6_net}" -interface 'nat64'
route -4 del "${tayga_ipv4_net}" -interface 'nat64' route -4 del "${tayga_ipv4_net}" -interface 'nat64'
route -6 del "${tayga_ipv6_net}" -interface 'nat64'
ifconfig 'nat64' destroy ifconfig 'nat64' destroy
else else
echo "${name} is not running." echo "${name} is not running."