mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-03 12:39:35 +00:00
FIXUP
This commit is contained in:
parent
638c8cb8b1
commit
349b3d5028
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@
|
|||
:if ([ :typeof $Slash ] = "num") do={
|
||||
:set Net [ :toip [ :pick $Address 0 $Slash ] ]
|
||||
:set Cidr [ :pick $Address ($Slash + 1) [ :len $Address ] ];
|
||||
:set Address (([ :toip $Net ] & ($Maskv4->$Cidr)) . [ $IfThenElse ($Cidr < 32) ("/" . $Cidr) ]);
|
||||
:set Address [ :tostr (([ :toip $Net ] & ($Maskv4->$Cidr)) . [ $IfThenElse ($Cidr < 32) ("/" . $Cidr) ]) ];
|
||||
}
|
||||
:set Branch [ $GetBranch $Address ];
|
||||
:set ($IPv4Addresses->$Branch->$Address) $TimeOut;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue