aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7540e21..ffb6c8b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -358,7 +358,7 @@ fn validate_ipv6_address(address: &str) -> Result<(), Error> {
if c == ':' {
num_digits = 0;
num_groups += 1;
- ValidationState::AfterColonExpectGroupOrIpv4
+ ValidationState::ColonAfterGroup
} else if c == '.' {
ipv4_address_encountered = true;
break;