freebsd-ports/net/ip6_int/pkg-descr
Pete Fritchman f072ef3d87 Add ip6_int-1.0, convert an IPv4/IPv6 address to an in-addr.arpa/ip6.int PTR
value

PR:		32178
Submitted by:	Jean-Yves Lefort <jylefort@twist.frontis.net>
2001-11-25 09:09:33 +00:00

9 lines
312 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@brutele.be