summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-25 18:09:17 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:01:19 +0100
commitcd35ecc575a7b4b1a7ad134ccb3c76011ff5a347 (patch)
treeed248e858bb785c4e8cb728ac0dde24284b36b57 /babeld
parentlib: set up `frr_libstatedir` (diff)
downloadfrr-cd35ecc575a7b4b1a7ad134ccb3c76011ff5a347.tar.xz
frr-cd35ecc575a7b4b1a7ad134ccb3c76011ff5a347.zip
lib: create `frr_daemon_state_{load,save}`
These functions load daemon-specific persistent state from `/var/lib/frr` and supersede open-coded variants of similar calls in ospfd, ospf6d and isisd to save GR state and/or sequence numbers. Unlike the open-coded variants, the save call correctly `fsync()`s the saved data to ensure disk contents are consistent. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'babeld')
0 files changed, 0 insertions, 0 deletions