summaryrefslogtreecommitdiff
path: root/tests/bgp_mp_attr_test.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-08-19 18:15:40 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-08-19 18:15:40 +0200
commit1520e4748129c4eb97ac3090bcc97149a1900611 (patch)
treef4501a77bcb9e3ecabfd9dd5f80ee3e71cb35119 /tests/bgp_mp_attr_test.c
parent342a31bfda21616209366679ac522471e5772a2f (diff)
parent90444ca35e3037ed43ec695428f0ef6d82f9a320 (diff)
*: merge branch stable/0.99.23
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/bgp_mp_attr_test.c')
-rw-r--r--tests/bgp_mp_attr_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bgp_mp_attr_test.c b/tests/bgp_mp_attr_test.c
index 177c1ad8dc..aa8e485d6e 100644
--- a/tests/bgp_mp_attr_test.c
+++ b/tests/bgp_mp_attr_test.c
@@ -478,7 +478,7 @@ parse_test (struct peer *peer, struct test_segment *t, int type)
printf ("parsed?: %s\n", ret ? "no" : "yes");
- if (ret != t->parses)
+ if ((ret == 0) != (t->parses == 0))
failed++;
if (tty)