diff options
author | Christian Hesse <mail@eworm.de> | 2022-07-05 12:42:21 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-07-05 12:43:57 +0200 |
commit | 597277dbe75bb9a87852d46c64b026b189c3528b (patch) | |
tree | b7c2a2fccba386deb048746cb49a13f360721607 | |
parent | 150feac4000d733912561a9d7678169670f64d35 (diff) |
mod/ipcalc: use $PrettyPrint
-rw-r--r-- | mod/ipcalc | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -11,15 +11,16 @@ :local Input [ :tostr $1 ]; :global IPCalcReturn; + :global PrettyPrint; :local Values [ $IPCalcReturn $1 ]; - :put ( \ - "Address: " . $Values->"address" . "\n\r" . \ - "Netmask: " . $Values->"netmask" . "\n\r" . \ - "Network: " . $Values->"network" . "\n\r" . \ - "HostMin: " . $Values->"hostmin" . "\n\r" . \ - "HostMax: " . $Values->"hostmax" . "\n\r" . \ + $PrettyPrint ( \ + "Address: " . $Values->"address" . "\n" . \ + "Netmask: " . $Values->"netmask" . "\n" . \ + "Network: " . $Values->"network" . "\n" . \ + "HostMin: " . $Values->"hostmin" . "\n" . \ + "HostMax: " . $Values->"hostmax" . "\n" . \ "Broadcast: " . $Values->"broadcast"); } |