summaryrefslogtreecommitdiffstats
path: root/src/net/testdata/ipv4-hosts
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/testdata/ipv4-hosts')
-rw-r--r--src/net/testdata/ipv4-hosts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/testdata/ipv4-hosts b/src/net/testdata/ipv4-hosts
new file mode 100644
index 0000000..6b99675
--- /dev/null
+++ b/src/net/testdata/ipv4-hosts
@@ -0,0 +1,8 @@
+# See https://tools.ietf.org/html/rfc1123.
+
+# internet address and host name
+127.0.0.1 localhost # inline comment separated by tab
+127.0.0.2 localhost # inline comment separated by space
+
+# internet address, host name and aliases
+127.0.0.3 localhost localhost.localdomain