diff options
| author | Lou Berger <lberger@labn.net> | 2017-01-27 17:36:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-27 17:36:20 -0500 |
| commit | c09579469d517b36f1ef8832b56da644efa36aaf (patch) | |
| tree | 76f51553c180709de50759ee90e0d43d805c3e18 /tests/bgp_capability_test.c | |
| parent | 6dce33e247cade5157eac2d1e609d926e54be260 (diff) | |
| parent | 41cebd7eff55c0cebe048dc8764ad5c69a6ee5ef (diff) | |
Merge pull request #129 from donaldsharp/redistribute
Fix some more issues with cli
Diffstat (limited to 'tests/bgp_capability_test.c')
| -rw-r--r-- | tests/bgp_capability_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bgp_capability_test.c b/tests/bgp_capability_test.c index 3ee6a121e4..f83dee5e1c 100644 --- a/tests/bgp_capability_test.c +++ b/tests/bgp_capability_test.c @@ -589,7 +589,7 @@ parse_test (struct peer *peer, struct test_segment *t, int type) safi_t safi; /* Convert AFI, SAFI to internal values, check. */ - if (bgp_map_afi_safi_iana2int (t->afi, t->safi, &afi, &safi)) + if (bgp_map_afi_safi_iana2int (afi_int2iana(t->afi), t->safi, &afi, &safi)) { if (t->afi_valid == VALID_AFI) failed++; |
