blob: 96df2f225646bb769dd0e4e81994de7d6bc4b813 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
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
|