summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-07-16 06:12:33 -0700
committerJohn Lo <loj@cisco.com>2018-07-16 18:14:00 +0000
commit4faab21a75a208d83c184bd424938c4dbf6b38e4 (patch)
tree122ca5eb31247d733daf48e8a8b1b2177c0b7781 /src/vnet/fib
parent15dff7234270b5f4ad724d3a69d3ed73db2a966b (diff)
Adjacency-BFD: assume BFD down on create
Change-Id: I13279a1a96df457209fb25748a643c01b18ff4e0 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/fib')
-rw-r--r--src/vnet/fib/fib_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/fib/fib_test.c b/src/vnet/fib/fib_test.c
index 95540834f52..fb268e63d9e 100644
--- a/src/vnet/fib/fib_test.c
+++ b/src/vnet/fib/fib_test.c
@@ -8198,7 +8198,7 @@ fib_test_bfd (void)
/*
* whilst the BFD session is not signalled, the adj is up
*/
- FIB_TEST(adj_is_up(ai_10_10_10_1), "Adj state up on uninit session");
+ FIB_TEST(!adj_is_up(ai_10_10_10_1), "Adj state down on uninit session");
/*
* bring the BFD session up
@@ -8214,7 +8214,6 @@ fib_test_bfd (void)
adj_bfd_notify(BFD_LISTEN_EVENT_UPDATE, &bfd_10_10_10_1);
FIB_TEST(!adj_is_up(ai_10_10_10_1), "Adj state down on DOWN session");
-
/*
* add an attached next hop FIB entry via the down adj
*/