From 03bf19b29bfa337c16e72c982d39877dbea9c9cf Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 7 Feb 2017 14:14:17 -0500 Subject: [PATCH] tests: Fix warning in compile Fix bgp_mp_attr_test.c warning in compile on fedora 25 and clang. Signed-off-by: Donald Sharp --- tests/bgp_mp_attr_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bgp_mp_attr_test.c b/tests/bgp_mp_attr_test.c index f7c2af4405..397612c315 100644 --- a/tests/bgp_mp_attr_test.c +++ b/tests/bgp_mp_attr_test.c @@ -709,7 +709,7 @@ parse_test (struct peer *peer, struct test_segment *t, int type) parse_ret = bgp_mp_unreach_parse (&attr_args, &nlri); if (!parse_ret) { - afi_t pkt_afi; + iana_afi_t pkt_afi; safi_t pkt_safi; /* Convert AFI, SAFI to internal values, check. */ -- 2.39.5