From 3eb5e4a458ec62bcf14d065d47d9827327a51b2a Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 10 Feb 2021 22:06:36 +0700 Subject: Correct the double colon check commands. How late at night must it have been for me to write "semicolons"? --- src/ipaddrcheck_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipaddrcheck_functions.c') diff --git a/src/ipaddrcheck_functions.c b/src/ipaddrcheck_functions.c index 965ee19..d98ceda 100644 --- a/src/ipaddrcheck_functions.c +++ b/src/ipaddrcheck_functions.c @@ -37,8 +37,8 @@ */ -/* Does it contain double semicolons? This is not allowed in IPv6 addresses */ -int duplicate_double_semicolons(char* address_str) { +/* Does it contain double colons? This is not allowed in IPv6 addresses */ +int duplicate_double_colons(char* address_str) { int offsets[1]; pcre *re; int rc; -- cgit v1.2.3