Code

Let the config parser accept unquoted IPv6 addresses.
authorSebastian Harl <sh@tokkee.org>
Sat, 21 Dec 2013 21:37:58 +0000 (22:37 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 21 Dec 2013 21:37:58 +0000 (22:37 +0100)
commit1e042006669189bb45f9a5d42da68251ee65925e
treed99eb412dd6ea523fcc6999839fc7a38927e815a
parent9fa9f94d3a9e510ba6565524c4eb9fd7f8316d85
Let the config parser accept unquoted IPv6 addresses.

The parser supports raw IPv6 addresses, optional address and port (as
[<addr>]:<port>), and embedded IPv4 addresses.

Based on "Common Patterns" found in the flex manual.
src/liboconfig/scanner.l