]> git.proxmox.com Git - mirror_frr.git/commit
*: fix gcc-8 format-overflow warnings
authorDavid Lamparter <equinox@diac24.net>
Sat, 18 Aug 2018 02:33:38 +0000 (04:33 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 21 Aug 2018 19:05:09 +0000 (21:05 +0200)
commita2dc7057e0bd3a5f5c28de9896bf905e6dd5eb4b
tree02d1dbdd3c616f371b7e42a0098d16981f843e05
parentbd27ea43e9972d1c8ae794441fd2db83a8d896fc
*: fix gcc-8 format-overflow warnings

e.g.
pimd/pim_oil.c: In function ‘pim_channel_oil_dump’:
pimd/pim_oil.c:51:19: error: ‘%d’ directive writing between 1 and 11 bytes into a region of size 10 [-Werror=format-overflow=]

Build on gcc-8.2.0 is warning-free after this patch.

Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/bgp_flowspec.c
pimd/pim_cmd.c
pimd/pim_oil.c