summaryrefslogtreecommitdiffstats
path: root/vrrpd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-04-22 20:20:47 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commitd32bee97f93805cab0909424f729affd2f2cafa9 (patch)
treeb01282a5ab9fefd8c974eb3830dcedffdbcea68e /vrrpd
parentvrrpd: gracefully shutdown on SIGTERM / SIGINT (diff)
downloadfrr-d32bee97f93805cab0909424f729affd2f2cafa9.tar.xz
frr-d32bee97f93805cab0909424f729affd2f2cafa9.zip
vrrpd: fix global buffer overflow from style fix
I knew I had done that for a reason Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd')
-rw-r--r--vrrpd/vrrp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_main.c b/vrrpd/vrrp_main.c
index 98b907d01..bb3cc595d 100644
--- a/vrrpd/vrrp_main.c
+++ b/vrrpd/vrrp_main.c
@@ -57,7 +57,7 @@ struct zebra_privs_t vrrp_privs = {
.cap_num_p = array_size(_caps_p),
.cap_num_i = 0};
-struct option longopts[] = {};
+struct option longopts[] = {{0}};
/* Master of threads. */
struct thread_master *master;