From: Jens Link Date: Sat, 28 Jul 2018 10:00:35 +0000 (+0200) Subject: Update 17-language-reference.md X-Git-Tag: v2.10.0~53^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1613a855e78047a8620ecf091705cb70ac727c55;p=icinga2 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. --- 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