summaryrefslogtreecommitdiffstats
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-08 01:51:13 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-08 01:51:13 +0200
commitff44f570144407f6bcc1ef205759f7c9fa57e077 (patch)
treecbb04ec29d3e93f4cae6af639500b49238e07cc2 /lib/libfrr.h
parentvtysh, zebra: Fix function parameters (diff)
downloadfrr-ff44f570144407f6bcc1ef205759f7c9fa57e077.tar.xz
frr-ff44f570144407f6bcc1ef205759f7c9fa57e077.zip
bgpd, lib, ospf6d, vtysh: fix possible snprintf possible truncation
With a new version of clang 6.0, the compiler is detecting more issues where we may be possibly be truncating the output string. Fix by increasing the size of the output string to make the compiler happy. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index fe6c46670..7ffa780bf 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -113,7 +113,7 @@ extern void frr_early_fini(void);
DECLARE_KOOH(frr_fini, (), ())
extern void frr_fini(void);
-extern char config_default[256];
+extern char config_default[512];
extern char frr_zclientpath[256];
extern const char frr_sysconfdir[];
extern const char frr_vtydir[];