0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Doc: Fix datetime format for password entries

In BIRD 1, we used DD-MM-YYYY, while in BIRD 2 we switched to the usual
format YYYY-MM-DD.

Thanks to Janne Pisilä for the bugreport.
This commit is contained in:
Ondrej Zajicek 2024-04-11 18:54:23 +02:00
parent 280daed57d
commit 13c10ee062

View File

@ -957,7 +957,7 @@ agreement").
<tag><label id="proto-pass-gen-from">generate from "<m/time/"</tag> <tag><label id="proto-pass-gen-from">generate from "<m/time/"</tag>
The start time of the usage of the password for packet signing. The start time of the usage of the password for packet signing.
The format of <cf><m/time/</cf> is <tt>dd-mm-yyyy HH:MM:SS</tt>. The format of <cf><m/time/</cf> is <tt>YYYY-MM-DD [hh:mm:ss[.sss]]</tt>.
<tag><label id="proto-pass-gen-to">generate to "<m/time/"</tag> <tag><label id="proto-pass-gen-to">generate to "<m/time/"</tag>
The last time of the usage of the password for packet signing. The last time of the usage of the password for packet signing.
@ -4811,14 +4811,14 @@ protocol ospf MyOSPF {
authentication cryptographic; authentication cryptographic;
password "abc" { password "abc" {
id 1; id 1;
generate to "22-04-2003 11:00:06"; generate to "2023-04-22 11:00:06";
accept from "17-01-2001 12:01:05"; accept from "2021-01-17 12:01:05";
algorithm hmac sha384; algorithm hmac sha384;
}; };
password "def" { password "def" {
id 2; id 2;
generate to "22-07-2005 17:03:21"; generate to "2025-07-22";
accept from "22-02-2001 11:34:06"; accept from "2021-02-22";
algorithm hmac sha512; algorithm hmac sha512;
}; };
}; };