diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-06-14 20:53:06 +0200 |
|---|---|---|
| committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-06-14 15:56:14 -0400 |
| commit | 4f138a3e825b22eb610210bb06ebb040d8d1d07e (patch) | |
| tree | 63203b8eeabd808f92beb3407431862413e2780a /lib/libfrr.c | |
| parent | 1c2596c15f61ab398c0752765d54d8bd82e410d4 (diff) | |
lib: fix protocol name array size
Oops. Fixes #715.
Reported-by: Daniel Walton <dwalton@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.c')
| -rw-r--r-- | lib/libfrr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c index ff4160a243..132f7d4d2c 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -36,8 +36,8 @@ const char frr_sysconfdir[] = SYSCONFDIR; const char frr_vtydir[] = DAEMON_VTY_DIR; const char frr_moduledir[] = MODULE_PATH; -char frr_protoname[] = "NONE"; -char frr_protonameinst[] = "NONE"; +char frr_protoname[256] = "NONE"; +char frr_protonameinst[256] = "NONE"; char config_default[256]; static char pidfile_default[256]; |
