<div dir="ltr">Further update. Do not write to the file the states of dynamic protocols as it does not have much sence.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 27, 2023 at 2:53 AM Alexander Zubkov <<a href="mailto:green@qrator.net">green@qrator.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Updated the patch for keeping state in the file. Moved the read/write functions to sysdep/unix/main.c and made better parsing. So it is not a draft anymore, but something more or less "stable". I can add documentation patch in case there is interest to include that into upstream.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 24, 2023 at 8:03 AM Ondrej Zajicek <<a href="mailto:santiago@crfreenet.org" target="_blank">santiago@crfreenet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jan 23, 2023 at 03:19:43AM +0100, Alexander Zubkov wrote:<br>
> Hello,<br>
> <br>
> Not sure if those are forgotten or are unwanted modifications. Please let<br>
> me know.<br>
> <br>
> And I also have another idea regarding the subject. The idea is to<br>
> configure the file where bird will keep the states of the protocols (I mean<br>
> enabled/disabled states). Then during loading the configuration it alters<br>
> the states to reflect the saved ones. So the states are persistent during<br>
> reconfiguration and also during restart of a daemon. The draft patch is<br>
> attached. Please take a look.<br>
<br>
Hello<br>
<br>
Forgot about it, will check it.<br>
<br>
-- <br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" target="_blank">santiago@crfreenet.org</a>)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">wwwkeys.pgp.net</a>)<br>
"To err is human -- to blame it on a computer is even more so."<br>
</blockquote></div>
</blockquote></div>