]> git.proxmox.com Git - mirror_frr.git/commit
tests: Correctly align variable type in tests
authorDonald Sharp <sharpd@nvidia.com>
Wed, 27 Apr 2022 12:16:50 +0000 (08:16 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 27 Apr 2022 12:16:50 +0000 (08:16 -0400)
commitfcf6dce79a2e1ee4b7a5b4bb565f1755cda0d1f4
treea119f023eb50c9d7cb8d8a2e51db8d49e36f94f7
parent617975d114f41116a15f81ecf6f6c57487fc2e82
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>
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