diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-06 22:55:59 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-29 18:03:26 +0000 |
| commit | eab4a5c2d06d6a9b44d6d3333b5c3f2d74e95da4 (patch) | |
| tree | 2c1856180ec14550be9988984ffc4f9254dd218c /zebra/zebra_rib.c | |
| parent | 2dfe5a077573b76ed7f03d5d91c78682854c976c (diff) | |
zebra: strcat -> strlcat
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 600e820bc4..b14f8e3cc9 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -129,7 +129,7 @@ _rnode_zlog(const char *_func, vrf_id_t vrf_id, struct route_node *rn, srcdest_rnode2str(rn, buf, sizeof(buf)); if (info->safi == SAFI_MULTICAST) - strcat(buf, " (MRIB)"); + strlcat(buf, " (MRIB)", sizeof(buf)); } else { snprintf(buf, sizeof(buf), "{(route_node *) NULL}"); } |
