Skip to content

Commit

Permalink
Reword the ipv4_leading_zero_error for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan authored and kleinhenz committed Jan 26, 2017
1 parent fe664fe commit 4770ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/socket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ end

const ipv4_leading_zero_error = """
Leading zeros in IPv4 addresses are disallowed due to ambiguity.
If octal or hexadecimal, convert to decimal, otherwise remove leading zero.
If the address is in octal or hexadecimal, convert it to decimal, otherwise remove the leading zero.
"""

function parse(::Type{IPv4}, str::AbstractString)
Expand Down

0 comments on commit 4770ca2

Please sign in to comment.