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 Jan 25, 2017
1 parent c4aeb86 commit 90ed5e3
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 90ed5e3

Please sign in to comment.