From 1613a855e78047a8620ecf091705cb70ac727c55 Mon Sep 17 00:00:00 2001 From: Jens Link Date: Sat, 28 Jul 2018 12:00:35 +0200 Subject: [PATCH] Update 17-language-reference.md Changed ::1 to 2001:db8:1234::42. RFC 3849 reserves 2001:db8/32 for use in documentation and something that looks like a "real" global IPv6 address is much better in an example than using ::1 (localhost). Using a private IPv4 address and IPv6 localhost in an example make no sense to me. --- doc/17-language-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/17-language-reference.md b/doc/17-language-reference.md index 9bd31d6b7..9f6be99af 100644 --- a/doc/17-language-reference.md +++ b/doc/17-language-reference.md @@ -9,7 +9,7 @@ objects using the `object` keyword: display_name = "host1" address = "192.168.0.1" - address6 = "::1" + address6 = "2001:db8:1234::42" } In general you need to write each statement on a new line. Expressions started @@ -22,7 +22,7 @@ them with a semicolon: object Host "host1.example.org" { display_name = "host1" - address = "192.168.0.1"; address6 = "::1" + address = "192.168.0.1"; address6 = "2001:db8:1234::42" } Each object is uniquely identified by its type (`Host`) and name -- 2.40.0