-
- Downloads
New function cidrnet_to_addr_mask().
This new function tries to convert a network specification in CIDR notation (<address> "/" <prefix_length>) into an old-style address plus mask pair. It supports this for both IPv4 and IPv6. It is intended to be used when generating config files for programs that does not support CIDR notation, and needs a network mask instead, e.g. the ntp.org NTP daemon, or ISC dhcpd.
Please register or sign in to comment