mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-03 12:39:35 +00:00
Compare commits
2 commits
6ab4457d2a
...
5e11dd2d47
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e11dd2d47 | ||
|
|
918fb977a9 |
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@
|
|||
:foreach Line in=[ :deserialize $Data delimiter="\n" from=dsv options=dsv.plain ] do={
|
||||
:set Line ($Line->0);
|
||||
:local Address;
|
||||
:if ([ :pick $Line 0 1 ] = "{" && [ :pick $Line ([ :len $Line ] - 1) ] = "}") do={
|
||||
:if ([ :pick $Line 0 1 ] = "{") do={
|
||||
:do {
|
||||
:set Address [ :tostr ([ :deserialize from=json $Line ]->"cidr") ];
|
||||
} on-error={ }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue