From 38ea140b3f585d410dcc859a62ceacbfad8fb6cb Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Sat, 4 Mar 2023 10:04:55 +0100 Subject: [PATCH] Update addr.odin Fix comment --- core/net/addr.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/addr.odin b/core/net/addr.odin index 636616932..7f7b5b683 100644 --- a/core/net/addr.odin +++ b/core/net/addr.odin @@ -33,7 +33,7 @@ import "core:fmt" The port, if present, is required to be a base 10 number in the range 0-65535, inclusive. - If `allow_non_decimal` is true, `aton` is told each component must be decimal and max 255. + If `allow_non_decimal` is false, `aton` is told each component must be decimal and max 255. */ parse_ip4_address :: proc(address_and_maybe_port: string, allow_non_decimal := false) -> (addr: IP4_Address, ok: bool) { res := aton(address_and_maybe_port, .IP4, !allow_non_decimal) or_return