mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
![]() 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> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
mgmt.c | ||
mgmt.h | ||
mgmt_be_adapter.c | ||
mgmt_be_adapter.h | ||
mgmt_ds.c | ||
mgmt_ds.h | ||
mgmt_fe_adapter.c | ||
mgmt_fe_adapter.h | ||
mgmt_history.c | ||
mgmt_history.h | ||
mgmt_main.c | ||
mgmt_memory.c | ||
mgmt_memory.h | ||
mgmt_txn.c | ||
mgmt_txn.h | ||
mgmt_vty.c | ||
subdir.am |