routeros_bogon_update
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
routeros_bogon_update [2015/04/19 12:02] – [RouterOS 6.x - Update bogon list automatically] admin | routeros_bogon_update [2015/04/19 12:03] – [RouterOS 6.x - Update bogon list automatically] admin | ||
---|---|---|---|
Line 27: | Line 27: | ||
:set lastEnd ( $lineEnd + 1 ) ; | :set lastEnd ( $lineEnd + 1 ) ; | ||
- | :local tmpArray [:toarray $line] ; | + | :if ( $line != "" |
- | :if ( [: | + | |
- | :put $tmpArray; | + | |
- | /ip firewall address-list add name=bogons address=[: | + | |
} | } | ||
} while ($lineEnd < $contentLen)</ | } while ($lineEnd < $contentLen)</ |
routeros_bogon_update.txt · Last modified: 2021/10/31 14:40 by admin