]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/rfapi/rfapi_import.c
bgpd: Fix prefix2str using BUFSIZ to PREFIX_STRLEN
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Dec 2017 14:44:11 +0000 (09:44 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 11 Dec 2017 13:42:51 +0000 (08:42 -0500)
commit872ed4c7937b0f66d2bd01ffffe433132169c5e8
treea918fac6588a29630c9b3ed0463322493850c319
parenteac04bc5d3405eb9f931a7573c6a04fae815857e
bgpd: Fix prefix2str using BUFSIZ to PREFIX_STRLEN

PREFIX_STRLEN is the correct length for buffers needed to output
a prefix2str.  Additionally cleanup some setting of the last
value to a `\0` this is handled by prefix2str.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/rfapi/bgp_rfapi_cfg.c
bgpd/rfapi/rfapi.c
bgpd/rfapi/rfapi_import.c
bgpd/rfapi/rfapi_monitor.c
bgpd/rfapi/rfapi_rib.c
bgpd/rfapi/rfapi_vty.c
bgpd/rfapi/vnc_export_bgp.c
bgpd/rfapi/vnc_import_bgp.c