]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix GR & auth seqno state location
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Jan 2024 18:37:26 +0000 (19:37 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sat, 27 Jan 2024 18:02:52 +0000 (19:02 +0100)
commit567f5702c0ec53700388383030e55fee49459389
tree1b6cd3d290553a48b974ec9412108c31e44c2c5d
parent110945ba0d2314c18504adbc6ee3896fb67e4f09
ospf6d: fix GR & auth seqno state location

Unfortunately, `ospf6d` is much worse than `ospfd` and `isisd` regarding
its state saving, due to the existence of the auth trailer code.

Again, this belongs in `/var/lib`, not `/var/run`.

Merge both state files into one, and add reconciliation code for the
auth seqno.

I'm gonna save my comment on the fact that `ospf6_auth_seqno_nvm_delete`
is not in fact used anywhere.  Which is now a warning because it's
`static`.  Well.  It probably should be used somewhere, so leave it in.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac
ospf6d/ospf6_auth_trailer.c
ospf6d/ospf6_auth_trailer.h
ospf6d/ospf6_gr.c
ospf6d/ospf6_main.c
ospf6d/ospf6_top.c