fix tpws ipv6 reload on interface change in openwrt

This commit is contained in:
bol-van 2024-11-04 20:34:38 +03:00
parent bbeee9d640
commit cf320a7a2d

View File

@ -19,7 +19,7 @@ check_need_to_reload_tpws6()
# interface ifsets (wanif, wanif6, lanif) can be reloaded independently
check_lan
RELOAD_TPWS6=
[ "$ACTION" = "ifup" -a "$DISABLE_IPV6" != 1 -a -n "$IS_LAN" ] && [ "$MODE" = "tpws" -o "$MODE" = "custom" ] && RELOAD_TPWS6=1
[ "$ACTION" = "ifup" -a "$TPWS_ENABLE" = 1 -a "$DISABLE_IPV6" != 1 -a -n "$IS_LAN" ] && RELOAD_TPWS6=1
}