Text file src/net/testdata/ipv4-hosts

Documentation: net/testdata

     1# See https://tools.ietf.org/html/rfc1123.
     2#
     3# The literal IPv4 address parser in the net package is a relaxed
     4# one. It may accept a literal IPv4 address in dotted-decimal notation
     5# with leading zeros such as "001.2.003.4".
     6
     7# internet address and host name
     8127.0.0.1	localhost	# inline comment separated by tab
     9127.000.000.002	localhost       # inline comment separated by space
    10
    11# internet address, host name and aliases
    12127.000.000.003	localhost	localhost.localdomain

View as plain text