(addr->string addr-object)
addr-object
This procedure returns the external representation of a MAC address, a MAC address range, an IP address or an IP address range as a string.
A string.
> (addr->string '10.1.2.3)
"10.1.2.3"
> (addr->string '10.1.2.3-10.1.2.4)
"10.1.2.3-10.1.2.4"
> (addr->string '00:00:00:00:00:00)
"00:00:00:00:00:00"
> (addr->string '00:00:00:00:00:00-00:00:00:FF:EE:EE)
"00:00:00:00:00:00-00:00:00:ff:ee:ee"
> (pp addr->string)
(lambda (obj)
(with-output-to-string (lambda () (write obj))))
ok
>