From 38e66225c706a07e03598c245722a034acb0948e Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Tue, 15 Mar 2022 16:17:33 -0400 Subject: [PATCH] Update cidrnetmask for IPv6 --- website/docs/language/functions/cidrnetmask.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/docs/language/functions/cidrnetmask.mdx b/website/docs/language/functions/cidrnetmask.mdx index f8d5d7132196..f5d7aef2a18c 100644 --- a/website/docs/language/functions/cidrnetmask.mdx +++ b/website/docs/language/functions/cidrnetmask.mdx @@ -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