01.09.2024 21:41, Theo Buehler пишет:
> On Sun, Sep 01, 2024 at 08:25:07PM +0200, qwer...@tuta.io wrote:
>> Hi,
>>
>> since a few days running current on arm64 (snapshots),
>> i get following error:
>> fatal in engine: engine_dispatch_frontend: invalid IMSG_REQUEST_REBOOT
>> fatal in main: msgbuf_write: Broken pipe
>>
> 
> This should fix it.

OK kn

> 
> Index: control.c
> ===================================================================
> RCS file: /cvs/src/sbin/dhcpleased/control.c,v
> diff -u -p -r1.5 control.c
> --- control.c 25 Aug 2024 09:53:53 -0000      1.5
> +++ control.c 1 Sep 2024 18:40:58 -0000
> @@ -291,7 +291,7 @@ control_dispatch_imsg(int fd, short even
>  
>                       c->iev.ibuf.pid = pid;
>                       frontend_imsg_compose_engine(IMSG_REQUEST_REBOOT, 0,
> -                         pid, &if_index, sizeof(&if_index));
> +                         pid, &if_index, sizeof(if_index));
>                       break;
>               default:
>                       log_debug("%s: error handling imsg %d", __func__, type);
> 

Reply via email to