]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: fix SQLite dbfile path length
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 21 Mar 2024 00:25:26 +0000 (10:25 +1000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 21 Mar 2024 00:25:26 +0000 (10:25 +1000)
I can't see them but apparently this causes compiler warnings.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/libfrr.c

index c5c7e7837a79985db75e81634a6ebddecda6841d..fba4a2643d5e94adb232706ed09b316d8d000e45 100644 (file)
@@ -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];