]> git.proxmox.com Git - mirror_frr.git/commit - sharpd/sharp_vty.c
build: fix new gcc 11.2 warnings
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 25 Apr 2022 12:07:41 +0000 (14:07 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 25 Apr 2022 12:07:41 +0000 (14:07 +0200)
commit5c7a6fb36c0cf8113c19af7354782838988b263b
treeb330fb8c165dbbb0fb52f36c93badcd27cc3c732
parentd45a846e5ca313e5ab132ef57c495cc0407b50d9
build: fix new gcc 11.2 warnings

Some recent improvement in GCC triggers 2 new warnings, and they're
actual bugs (reading beyond end of prefix_ipv6 by accessing it as
prefix, which is larger.)  Luckily it's only in sharpd.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
sharpd/sharp_vty.c