Re: yyerror and ospfd reload

2013-03-03 Thread Theo de Raadt
I like the bgpd behaviour, and all the similar daemons should have the same behaviour. If ospfd is running and you attempt to reload a configuration file but it has an error (or the parser thinks it has an error even though the file is valid..), yyerror just prints to stderr so the message is

Re: yyerror and ospfd reload

2013-03-03 Thread Stuart Henderson
On 2013/03/03 14:25, Theo de Raadt wrote: I like the bgpd behaviour, and all the similar daemons should have the same behaviour. Here it is for all of the daemons which have parse.y and log.c; it only really affects the ones which support reload, but I think it makes sense to use the same code