diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-07-04 20:03:00 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-07-04 20:03:00 -0700 |
commit | a165074e8c41b143d967bc86cca0542b0119e13a (patch) | |
tree | f9e3df0ad13a30e0f012f9a703a2027a9f6cd8a2 /src/lib.rs | |
parent | 7d5f93777026f46870f14d85c22872bb42bd40d5 (diff) |
Fix bugs in IPv6 address parsing
* Multiple colons should not be accepted in state 4.
* After parsing a digit group and encountering a colon,
we need allow either another colon or the beginning
of either another group or an IPv4 address. Add state 5
to handle this.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions