summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-25 19:59:22 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:02:52 +0100
commitbfd6d8ee19e94f9cc945e3847f1fd275bbc01b44 (patch)
tree4124cc71210fa6892189d56cc154819e735a4e31 /babeld
parentospf6d: fix GR & auth seqno state location (diff)
downloadfrr-bfd6d8ee19e94f9cc945e3847f1fd275bbc01b44.tar.xz
frr-bfd6d8ee19e94f9cc945e3847f1fd275bbc01b44.zip
lib, mgmtd: fix commit history location
Both of these belong in `/var/lib`, not `/var/run`. Rather hilariously, the history read in `mgmt_history_read_cmt_record_index` was always failing, because it was doing a `file_exists(MGMTD_COMMIT_FILE_PATH)` check. Which is the wrong macro - it's `.../commit-%s.json`, including the unprocessed `%s`, which would never exist. I guess noone ever tried if this actually works. Cool. On the plus side, this means I don't have to implement legacy compatibility for this, since it never worked to begin with. (SQLite3 DB location is also changed in this commit since it also uses `DAEMON_DB_DIR`.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'babeld')
0 files changed, 0 insertions, 0 deletions