余老师你好:
请问我现在用的脚本只能用在Pcc选项both-addresses。以我把Pcc选项改为dst-addresses-and-port,脚本会自动改回both-addresses。所以现在的脚本不能用在Pcc选项dst-addresses-and-port的,如果我要用现有的脚本,由要在Pcc选项dst-addresses-and-port也能用。请问我现在的脚本要怎样改。谢谢!
:local status
:local i "3"
:local x "0"
:local y "0"
:local z "0"
:set x [:len [/interface pppoe-client find running=yes]]
:if ($x0) do={
:for ii from=1 to=$i do={
/ip fi man set [find new-connection-mark=$ii] per-connection-classifier=("both-addresses:".$x."/".$y) disable=no;:set y ($y+1)}}}