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.
This commit is contained in:
Jens Link 2018-07-28 12:00:35 +02:00 committed by GitHub
parent 2e3a1ff0c6
commit 1613a855e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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