ping

Sebastian Benoit([email protected]) on 2019.09.01 16:27:25 +0200:
> 
> Hi,
> 
> in OpenBSD 6.4 and 6.5, the log options 
> 
>   log updates
>   log all
> 
> are deprecated, they still work and show a warning.
> 
> This was mentioned in the upgrade guide:
> http://www.openbsd.org/faq/upgrade64.html
> 
> Ok to remove the old options completly after 2 releases?
> 
> /B
> 
> diff --git usr.sbin/relayd/parse.y usr.sbin/relayd/parse.y
> index c6e2bcacdfb..4cc44080504 100644
> --- usr.sbin/relayd/parse.y
> +++ usr.sbin/relayd/parse.y
> @@ -436,20 +436,8 @@ main             : INTERVAL NUMBER       {
>  trap         : /* nothing */         { $$ = 0; }
>               | TRAP                  { $$ = 1; }
>  
> -loglevel     : UPDATES               { /* remove 6.4-current */
> -                                       $$ = RELAYD_OPT_LOGUPDATE;
> -                                       log_warnx("log updates deprecated, "
> -                                           "update configuration");
> -                                     }
> -             | STATE CHANGES         { $$ = RELAYD_OPT_LOGUPDATE; }
> +loglevel     : STATE CHANGES         { $$ = RELAYD_OPT_LOGUPDATE; }
>               | HOST CHECKS           { $$ = RELAYD_OPT_LOGHOSTCHECK; }
> -             | ALL                   { /* remove 6.4-current */
> -                                       $$ = (RELAYD_OPT_LOGHOSTCHECK|
> -                                             RELAYD_OPT_LOGCON|
> -                                             RELAYD_OPT_LOGCONERR);
> -                                       log_warnx("log all deprecated, "
> -                                           "update configuration");
> -                                     }
>               | CONNECTION            { $$ = (RELAYD_OPT_LOGCON |
>                                               RELAYD_OPT_LOGCONERR); }
>               | CONNECTION ERRORS     { $$ = RELAYD_OPT_LOGCONERR; }
> 

Reply via email to