mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-20 16:09:32 +00:00
mod/ipcalc: use $ExitOnError
This commit is contained in:
parent
9ae01995d7
commit
da516a5102
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
[ $FormatLine "HostMax" ($Values->"hostmax") ] . "\n" . \
|
[ $FormatLine "HostMax" ($Values->"hostmax") ] . "\n" . \
|
||||||
[ $FormatLine "Broadcast" ($Values->"broadcast") ]) ];
|
[ $FormatLine "Broadcast" ($Values->"broadcast") ]) ];
|
||||||
} do={
|
} do={
|
||||||
:global ExitError; $ExitError false $0 $Err;
|
:global ExitOnError; $ExitOnError $0 $Err;
|
||||||
} }
|
} }
|
||||||
|
|
||||||
# calculate and return netmask, network, min host, max host and broadcast
|
# calculate and return netmask, network, min host, max host and broadcast
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue