Skip to content

Commit

Permalink
Use 0 for base
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone authored Dec 2, 2024
1 parent 763bcf3 commit b75edc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ func parseTLSCiphers(s string) ([]uint16, error) {
}

func parseUint16(s string) (uint16, error) {
n, err := strconv.ParseUint(s, 10, 16)
n, err := strconv.ParseUint(s, 0, 16)
if err != nil {
return 0, err
}
Expand Down

0 comments on commit b75edc7

Please sign in to comment.