mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-07 16:44:28 +02:00
fw-addr-lists: do not clean up
Cleanup is important on renew (so the script does not attempt to re-add), but we do not care here.
This commit is contained in:
parent
fb343c99e3
commit
ea6de35699
1 changed files with 0 additions and 2 deletions
|
@ -163,7 +163,6 @@
|
|||
:do {
|
||||
/ip/firewall/address-list/add list=$FwListName comment=$ListComment \
|
||||
address=$Address timeout=$Timeout;
|
||||
:set ($IPv4Addresses->$Address);
|
||||
:set CntAdd ($CntAdd + 1);
|
||||
} on-error={
|
||||
$LogPrint warning $ScriptName ("Failed to add IPv4 address to list '" . $FwListName . \
|
||||
|
@ -177,7 +176,6 @@
|
|||
:do {
|
||||
/ipv6/firewall/address-list/add list=$FwListName comment=$ListComment \
|
||||
address=$Address timeout=$Timeout;
|
||||
:set ($IPv6Addresses->$Address);
|
||||
:set CntAdd ($CntAdd + 1);
|
||||
} on-error={
|
||||
$LogPrint warning $ScriptName ("Failed to add IPv6 address to list '" . $FwListName . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue