Re: validate vm.conf local prefixes in parser

2023-07-04 Thread Claudio Jeker
On Tue, Jul 04, 2023 at 11:39:19AM -0400, Dave Voutila wrote: > vmd's doing something close to shotgun parsing of the "local prefix" and > "local inet6 prefix" settings in vm.conf(5). The parser intermixes ipv4 > and ipv6 parsing even when we know which one is valid in the parsing > context. This m

validate vm.conf local prefixes in parser

2023-07-04 Thread Dave Voutila
vmd's doing something close to shotgun parsing of the "local prefix" and "local inet6 prefix" settings in vm.conf(5). The parser intermixes ipv4 and ipv6 parsing even when we know which one is valid in the parsing context. This makes me sad. Even worse, we're not validating the inputs at time of p