bfd: Fix check_tnl_key error.
authorAlex Wang <alexw@nicira.com>
Wed, 14 Aug 2013 20:12:33 +0000 (13:12 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 14 Aug 2013 20:49:40 +0000 (13:49 -0700)
commit2d21cf728c148ab4a06eba2455878f8592ebeead
treee8c0e3d2ad68ff2c2aa7dd9179d8e5710ed788e7
parente019a574fe225cd7b2afebe06627ec2c3d58fc57
bfd: Fix check_tnl_key error.

This commit fixes the bug introduced by commit 26131299fa5 (bfd: Make the
BFD module thread safe.). The bug caused the opposite of the intended
behaviour.

Unit test is added for the 'check_tnl_key' feature.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bfd.c
tests/bfd.at