Merge pull request #29271 from kebroad/patch-1

Fixed cidrhost() example 1 and 2 with correct function parameter
This commit is contained in:
Laura Pacilio 2021-08-18 18:22:06 -04:00 committed by GitHub
commit b574c03dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -42,9 +42,9 @@ for backward compatibility, but recommend against relying on this behavior.
## Examples ## Examples
``` ```
> cidrhost("10.12.127.0/20", 16) > cidrhost("10.12.112.0/20", 16)
10.12.112.16 10.12.112.16
> cidrhost("10.12.127.0/20", 268) > cidrhost("10.12.112.0/20", 268)
10.12.113.12 10.12.113.12
> cidrhost("fd00:fd12:3456:7890:00a2::/72", 34) > cidrhost("fd00:fd12:3456:7890:00a2::/72", 34)
fd00:fd12:3456:7890::22 fd00:fd12:3456:7890::22