summaryrefslogtreecommitdiff
path: root/src/net/testdata/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/testdata/hosts')
-rw-r--r--src/net/testdata/hosts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/testdata/hosts b/src/net/testdata/hosts
new file mode 100644
index 000000000..b60176389
--- /dev/null
+++ b/src/net/testdata/hosts
@@ -0,0 +1,12 @@
+255.255.255.255 broadcasthost
+127.0.0.2 odin
+127.0.0.3 odin # inline comment
+::2 odin
+127.1.1.1 thor
+# aliases
+127.1.1.2 ullr ullrhost
+# Bogus entries that must be ignored.
+123.123.123 loki
+321.321.321.321
+# TODO(yvesj): Should we be able to parse this? From a Darwin system.
+fe80::1%lo0 localhost