Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions website/docs/language/functions/cidrnetmask.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ cidrnetmask(prefix)
The result is a subnet address formatted in the conventional dotted-decimal
IPv4 address syntax, as expected by some software.

CIDR notation is the only valid notation for IPv6 addresses, so `cidrnetmask`
produces an error if given an IPv6 address.
CIDR notation is the only valid notation for IPv6 addresses, so we do not recommend providing an IPv6 address to `cidrnetmask`.

-> **Note:** As a historical accident, this function interprets IPv4 address
octets that have leading zeros as decimal numbers, which is contrary to some
Expand Down