]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: fix GR state location
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Jan 2024 17:10:08 +0000 (18:10 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sat, 27 Jan 2024 18:02:52 +0000 (19:02 +0100)
commit110945ba0d2314c18504adbc6ee3896fb67e4f09
treea257ee19571c74f0121763524fa531032d170006
parente354c6e34394eba5107230de4ad2e72f75f5b70e
ospfd: fix GR state location

This belongs in `/var/lib`, not `/var/run`.

Use library facility to load/save, support previous path as fallback,
and do proper fsync().

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac
ospfd/ospf_gr.c
ospfd/ospf_main.c