cfm: Count flaps when logging is disabled
authorJoe Stringer <joestringer@nicira.com>
Wed, 6 Nov 2013 18:36:17 +0000 (10:36 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Nov 2013 16:31:37 +0000 (08:31 -0800)
commitfb668e3a13eaa07bbb8bc50cbee1d201051b779c
treea9bc18a4e3f58f7fac3390a9ffe5bf4079a83af4
parent89eb6a431384be0145b4539a5c90ed3f9eb829ca
cfm: Count flaps when logging is disabled

Previously, the flap count logic for CFM was dependent on the state of
the logging facility. This patch ensures flaps are always counted when
there is a transition between non-fault and fault (and vice versa).

Found by inspection.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/cfm.c