Skip to content

Commit 2e409bb

Browse files
ararslankleinhenz
authored andcommitted
Reword the ipv4_leading_zero_error for clarity
1 parent cb433fa commit 2e409bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/socket.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ end
150150

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

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

0 commit comments

Comments
 (0)