mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
7c10e30e3a
Approved by: adamw (mentor)
9 lines
313 B
Plaintext
9 lines
313 B
Plaintext
Convert valid IPv6 addresses to ip6.int PTR values. Convert valid
|
|
IPv4 addresses to in-addr.arpa PTR values. Anything not valid is
|
|
simply printed as is. Handles :: notation and embedded IPv4
|
|
addresses. If the address is followed by /n, the PTR is truncated
|
|
to n bits.
|
|
|
|
- Jean-Yves Lefort
|
|
jylefort@FreeBSD.org
|