diff options
Diffstat (limited to 'mod/ipcalc.rsc')
-rw-r--r-- | mod/ipcalc.rsc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/ipcalc.rsc b/mod/ipcalc.rsc index 128ca54..6b65356 100644 --- a/mod/ipcalc.rsc +++ b/mod/ipcalc.rsc @@ -17,17 +17,16 @@ :global FormatLine; :global IPCalcReturn; - :global PrettyPrint; :local Values [ $IPCalcReturn $1 ]; - $PrettyPrint ( \ + :put [ :tocrlf ( \ [ $FormatLine "Address" ($Values->"address") ] . "\n" . \ [ $FormatLine "Netmask" ($Values->"netmask") ] . "\n" . \ [ $FormatLine "Network" ($Values->"network") ] . "\n" . \ [ $FormatLine "HostMin" ($Values->"hostmin") ] . "\n" . \ [ $FormatLine "HostMax" ($Values->"hostmax") ] . "\n" . \ - [ $FormatLine "Broadcast" ($Values->"broadcast") ]); + [ $FormatLine "Broadcast" ($Values->"broadcast") ]) ]; } # calculate and return netmask, network, min host, max host and broadcast |