summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-03-21 10:25:26 +1000
committerDavid Lamparter <equinox@opensourcerouting.org>2024-03-21 10:25:26 +1000
commit8043a71dbfa7c973e055b89517fbb1114d38ba0a (patch)
treeb3a60d3f51f5dd12590005bf299cf827539b21a8
parent08c56b40b606b33cf5854a1b1b086d9f48e5e582 (diff)
lib: fix SQLite dbfile path length
I can't see them but apparently this causes compiler warnings. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--lib/libfrr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c
index c5c7e7837a..fba4a2643d 100644
--- a/lib/libfrr.c
+++ b/lib/libfrr.c
@@ -59,7 +59,7 @@ char config_default[512];
char frr_zclientpath[512];
static char pidfile_default[1024];
#ifdef HAVE_SQLITE3
-static char dbfile_default[512];
+static char dbfile_default[1024];
#endif
static char vtypath_default[512];