Nick([email protected]) on 2020.02.11 07:47:02 +0000: > >Synopsis: relayd hitting a syntax error will continue parsing and give > >even more confusing errors > >Category: system > >Environment: > System : OpenBSD 6.6 > Details : OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT > 2019 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > > > >Description: > > relayd gives a nonsense error if a relay has two protocols but the > first is invalid. > > relayd.conf:20: no such protocol: web2 > relayd.conf:23: protocol web defined twice
Welcome to the world of parsers trying to continue parsing after an error. This is so that it can report multiple errors in the config file, potentially helping the user. In this case the parser falls over its feet. No idea yet how and if i want to fix it. Thanks, Benno
