diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-01-05 16:38:49 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-01-05 16:38:49 +0100 |
commit | 29dda184e56ce3a1ec72db4612198f6b3ba84e82 (patch) | |
tree | e85600ecd1de94a9e2ac50a5d712126ff55595af /proto | |
parent | 75aceadaf746f8ed0acce0424f89903283dacf16 (diff) |
Conf: Fix parsing full-length IPv6 addresses
Lexer expression for bytestring was too loose, accepting also
full-length IPv6 addresses. It should be restricted such that
colon is used between every byte or never.
Fix the regex and also add some test cases for it.
Thanks to Alexander Zubkov for the bugreport
Diffstat (limited to 'proto')
0 files changed, 0 insertions, 0 deletions