]> git.puffer.fish Git - mirror/frr.git/commit
tests: Correctly align variable type in tests 11124/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 27 Apr 2022 12:16:50 +0000 (08:16 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 29 Apr 2022 15:00:12 +0000 (15:00 +0000)
commit115f11f62eafdba8cea9f5e0b08ec9d6563f41f2
tree33d62feb67dc84e2672c4ba859144eea20a1ae74
parent919fe51b519e0abbb11ef97be1813b0c55c51202
tests: Correctly align variable type in tests

New compilers are noticing that the tests are compiling with
a pointer for the bgpd_privs variable while the bgp library
that is being linked against is not a pointer.  Since
these tests had the declaration just to make the compiler
happy, let's actually align the variable type to make the
compiler even happier.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit fcf6dce79a2e1ee4b7a5b4bb565f1755cda0d1f4)
tests/bgpd/test_aspath.c
tests/bgpd/test_capability.c
tests/bgpd/test_ecommunity.c
tests/bgpd/test_mp_attr.c
tests/bgpd/test_packet.c