diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-28 20:25:45 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-29 18:03:26 +0000 |
| commit | 67c726a10d90b9edc02e99e5a9064d14f9920309 (patch) | |
| tree | dcf1188e451c6fac38c5ec64bcd681f3df4815a6 /lib/libfrr.c | |
| parent | f9bff3be9ebff9b0edf27b609e1572388d2b9f16 (diff) | |
lib: fix helpstring truncation
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/libfrr.c')
| -rw-r--r-- | lib/libfrr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c index 26bdcc1a36..cd5a164c53 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -81,7 +81,7 @@ static void opt_extend(const struct optspec *os) const struct option *lo; strlcat(comb_optstr, os->optstr, sizeof(comb_optstr)); - strlcat(comb_helpstr, os->helpstr, sizeof(comb_optstr)); + strlcat(comb_helpstr, os->helpstr, sizeof(comb_helpstr)); for (lo = os->longopts; lo->name; lo++) memcpy(comb_next_lo++, lo, sizeof(*lo)); } |
