tests passing again

This commit is contained in:
William Skellenger 2024-05-28 18:58:33 -04:00
parent 930c187c75
commit edf2572e22

View File

@ -96,7 +96,7 @@ ip6addr_aton(const char *cp, ip6_addr_t *addr)
break; break;
#endif /* LWIP_IPV4 */ #endif /* LWIP_IPV4 */
} else if (!lwip_isxdigit(*s)) { } else if (!lwip_isxdigit(*s)) {
break; return 0;
} }
} }
@ -166,7 +166,7 @@ ip6addr_aton(const char *cp, ip6_addr_t *addr)
(u32_t)(10 + (lwip_islower(*s) ? *s - 'a' : *s - 'A'))); (u32_t)(10 + (lwip_islower(*s) ? *s - 'a' : *s - 'A')));
} else { } else {
/* unexpected digit, space? CRLF? */ /* unexpected digit, space? CRLF? */
break; return 0;
} }
} }